Table of contents
Markdown is a markup language just like HTML. We use it to parse text and convert it into a specific format. You can also think of it as a text to HTML converter tool. This Markdown cheat sheet provides a quick overview of all the Markdown syntax elements.
Headings
In markdown, we can create headings from h1 to h6, which are equivalent in HTML.
# Heading 1
## Heading 2
### Heading 3
#### Heading 4
##### Heading 5
###### Heading 6
Text styles
Using markdown syntax, we can change texts’ styles, including bold, italic and blockquotes.
**Bold (Use 2 asterik or 2 underscore)**
**The quick brown fox jumps over the lazy dog.**
__The quick brown fox jumps over the lazy dog.__
**Italic (Use 1 asterik or 1 underscore)**
*The quick brown fox jumps over the lazy dog.*
_The quick brown fox jumps over the lazy dog._
**Bold and Italic (Use 2 asterik and 1 underscore)**
**_The quick brown fox jumps over the lazy dog._**
**Blockquotes (Use 1 greater ten sign)**
> The quick brown fox jumps over the lazy dog.
Link
To insert a link in markdown, mention the name of inside [square brackets] and link inside (brackets).
[Link to my Github profile](https://github.com/iamkabilash)
Images
We can add images using the similar techniques we used for links, except for image it needs tostart with an exclamatory sign (!).
**Syntax:**
[Alt text](Link to image)
**Example:**
![My image](https://pbs.twimg.com/profile_images/1513517589338763264/eHZuAS68_400x400.jpg)
List
Using markdown, we can generate ordered and unordered lists.
An ordered list item starts with 1.
, whereas an unordered list starts with -
. Sub-lists are created using intendations, and it could be ordered or unordered.
1. First level
1. Second level
- Third level
- Fourth level
2. First level
- Second level
- Second level
- First level
1. Second level
2. Second level