Hey Devs,
I back again with another cool article on Markdown
. You might have see the fancy github pages which looks very attractive because of these markdown skills, Yeah that's why It marked you up.
How to create the markdown file.
To create a markdown file we only have to select the file extension .md that's it.
Lets have a quick look on the Markdown cheat-sheet.
Heading
Yes off-course heading is the very common and first this which you write in every blog or anywhere. To put the heading in the in markdown file is you have to use the # YourHeadingText
. Yes, hash sign #
followed by a single space.
There is different sizes of heading is available like h1, h2 to h6 in HTML.
# h1
## h2
### h3
#### h4
##### h5
###### h6
Above heading has these sizes.
Bold
If you want to bold your text use **Bold with star**
or __Bold with underscore__
notice here double asterisk & double underscore both the side of text.
- By using double
**
Bold with star - By Using double
__
Bold with underscore
Both above are same you can go with your own choice.
Italic
If you want to italic style of your text use *italic with star*
or _italic with underscore_
.
- By using single
*
italic with asterisk - By Using single
_
Italic with underscore
Both above are same you can go with your own choice.
Line-through
To use the strike through we have a double tilde sign here ~~$299~~ $199
By the way this feature is not available on this platform i.e.Hashnode
may be in future their team will fix it.
List Item
We have two different kind of list ordered list
& unordered List
Ordered List
To write an ordered list we have to use one number
+.
+ space
like this 1.
Yes dot & space is mandatory here.
1. Uno.
1. One
2. Dos.
1. Two
2. Tres.
1. Cuatro.
3. Cinco.
8. Seis.
Preview
- Uno.
- One
- Dos.
- Two
- Tres.
- Cuatro.
- Cinco.
- Seis.
To use the sub-list hit tab and follow the same way.
Un-ordered list.
To write an un-ordered list we have to use one -
+ space
like this - list
. Yes space is mandatory here.
- One
- two
- Three
- Tres
- Four
- Cuatro
1. four
Preview
- One
- two
- Three
- Tres
- Four
- Cuatro
- four
Link
To put the link syntax is [name](url)
just like below
Syntax
[My Country](https://en.wikipedia.org/wiki/India)
output
Code
Wrap the code blocks with tripple Grave accent keys. ```
for showing big blocks of code in your content. For example ```print("hello")```
.
print("hello")
Images
To put the Image use ![AlternateWord](url)
url can be both local and server image.
![mito](https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTKUtIiFeMqkv-Qx72EzTMIpv56-4M6GjbZXA&usqp=CAU)
BlockQuote
This is the way by which I am showing you the output of the markdown attribute. To use the backquote we
use >
forward arrow.
> I am block quote!.
Output
I am block quote!.
That's the end of this article. I hope this article will little bit help you to understand the markdown syntax.
Now it's your turn to beautify your github projects with this Markdown syntax.
If you liked this article hit a like & comment.
Thanks for reading!!!