Markdown Cheatsheet to bookmark
Tags: markdown, beginners, programming, codenewbie
Published: 2021-01-29 16:20:32

Markdown is a lightweight markup language for creating formatted text using a plain-text editor. John Gruber and Aaron Swartz created Markdown in 2004 as a markup language that is appealing to human readers in its source code form.
This article is made for a quick help for when you (and I) need to use markdown for a project.

## Headers
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/txfqxacw3sw8b3rkot35.png)

Also H1 and H2 can be written like this
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/prrt4xejylb24wt0b9g9.png)

## Text styles
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/y8ewoztvitsh647le76l.png)

## Paragraphs 
You can end a paragraph with two or more spaces and then begin a new paragraph. Like this: 
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/rkhgtg6op9l6u957q2ri.png)


>Blockquotes
>>are done 
>>>Like this:

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/mwk76l8t4fy4b029egie.png)

## Lists
Unordered lists can be made in this ways
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/z75xs94kbttbi48hmg6k.png)

Ordered lists can be made in this way
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/8197u75d95qceqdb4fen.png)

You can also make sublists like this
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/rrdzr95joh8090opw21d.png)

You can make task lists with checkboxes like this 
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/ymy5t0tv2cz6lbub9y2z.png)

## Code Blocks
To make a code block (which uses the <code> element in HTML) by indenting a line with four spaces or a tab. You can also re-tab (or add an additional four spaces) for indentation inside your code. Like this:
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/jfy136itje4o6igutwcq.png)

## Horizontal Rule
Horizontal rules (<hr/>) are easily added with three or more asterisks or hyphens, with or without spaces.
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/t20hhnu3vla9zp9vbn9j.png)

## Links
Put the text to display in hard brackets [] followed by the url in parentheses (). You can also add a link title using quotes inside the parentheses. Relative paths work too.
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/mlrq2t4hzwz8cohqxbal.png)

Markdown also supports reference style links.
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/rk46q537vvlwcrzus2g3.png)

## Images
Images are done the same way as links but with an exclamation point in front!
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/lq8tb07m5jmqw744lju2.png)


## Tables
To make tables using markdown you can do it pretty easily. And has 2 different ways.
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/h0ujnij8gg891tpmcx5e.png)

## Footnote
Here is how to make footnotes.
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/0fk7det0t40ourx6vyha.png)

## Miscellany
Here's some stuff I don't use very often but some people may need it.

### Auto links for emails
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/5qyrz65hks48z8jn3y75.png)

### Escaping characters 
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/s7tdhspedcetvh3fmapp.png)

### Keyboard keys
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/rhk8nftschd48ddqto25.png)



That's it , I know there are more things but honestly I haven't used anything more than this. If you have anything you want me to add please comment and I will edit this.

Hope this helps,
Stay safe,
~Jovan