Cheatsheet for Markdown

This article covers the basics of Markdown syntax

Cheatsheet for Markdown

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:

head.PNG

2. Bold:

For making the text Bold in the markdown file.

Syntax with e.g:

bole.PNG

3. Italics:

For making the text in Italics.

Syntax with e.g:

itae.PNG

4. Strikethrough:

Commonly used in e-commerce websites.

Syntax with e.g:

stike.PNG

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:

ol.PNG

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:

ul.PNG

For placing links in the markdown file.

Syntax with e.g:

swe.jpg

8. Code Snippets in Markdown:

For placing code snippets in markdown.

Syntax with e.g:

codee.PNG

9. Tables:

Synatx with e.g:

table.PNG

10. Images:

We can also put images in the markdown files.

isla.PNG

11. BlockQuote:

blov.PNG

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.