How it's used
Markdown files have an extension of (.md). While uploading the code files in Git it automatically read it as a markdwon file and thus displayed accordingly.
Basic Syntax
1. Headings:
To create a heading, add number signs (#) in front of a word or phrase. The number of number signs you use should correspond to the heading level.
Syntax with e.g:
2. Bold:
For making the text Bold in the markdown file.
Syntax with e.g:
3. Italics:
For making the text in Italics.
Syntax with e.g:
4. Strikethrough:
Commonly used in e-commerce websites.
Syntax with e.g:
5. Ordered Lists:
To create an ordered list, add line items with numbers followed by periods. The numbers don’t have to be in numerical order, but the list should start with the number one.
Syntax with e.g:
Here we can see in code snippet that when we put different serial number it shows in lists, but also if we put same serial no. it will show the items in correct serail number order.
6. Unordered Lists:
To create an unordered list, add dashes (-), asterisks (*), or plus signs (+) in front of line items. Indent one or more items to create a nested list.
Syntax with e.g:
7. Links:
For placing links in the markdown file.
Syntax with e.g:
8. Code Snippets in Markdown:
For placing code snippets in markdown.
Syntax with e.g:
9. Tables:
Synatx with e.g:
10. Images:
We can also put images in the markdown files.
11. BlockQuote:
Thus we learned the basics of Markdwon Syntax. Hope you have learned something just like me with the help of this article. Stay Safe & Keep Learning. Feedback & Suggestions are highly welcomed.