Markdown Cheat Sheet / Guide

What is markdown ?

Markdown is lightweight markup language with a plain text formatting syntax which can be converted into HTML/XML and other formats. It's main purpose is readability and ease of use.


Why do we use markdown language ?

It is widely used for readme files and documentation. You can find Github widely using it. We create Readme.md file while pushing our code to repository. It uses ".md" as file extension. It is also used for forum & blog posts.


Headings in markdown ?

We use "#" sign with a space to write the heading. We have total 6 type of headings, see the below image to understand better image.png


How to make the text Italic ?

We use the " * " and "_" symbol to make the text italic. We wrap the text inside the " * '' and "_ " to change the text to italic example

image.png


How to make the text Bold ?

We wrap our text inside the "**" to make it look bold. We can also use "__" . see the below example

image.png


Strikethrough We use "~~"(tilde) symbol to strikethrough our content. See the below example.

image.png


Horizontal Rule

We use "---" and "___" to draw the horizontal line. Check the below example

image.png


Blockquote

See the Below example

image.png


image.png


Unordered List with nested

image.png


Ordered List with nested

image.png


Image

image.png


Code blocks

image.png


Programming language specific Code blocks

image.png


Table

image.png


Task List

image.png