This is a quick reference cheat sheet to the Markdown syntax.
# h1
## h2
### h3
#### h4
##### h5
###### h6
Header 1
========
Header 2
--------
> This is
> a blockquote
>
> > Nested
> > Blockquote
* Item 1
* Item 2
* item 3a
* item 3b
or
- Item 1
- Item 2
or
+ Item 1
+ Item 2
or
- [ ] Checkbox off
- [x] Checkbox on
1. Item 1
2. Item 2
a. item 3a
b. item 3b
[link](http://google.com)
[link][google]
[google]: http://google.com
<http://google.com>
*italic*
_italic_
**bold**
__bold__
`inline code`
~~struck out~~
Hyphens
---
Asterisks
***
Underscores
___
```javascript
console.log("This is a block code")
```
~~~css
.button { border: none; }
~~~
4 space indent makes a code block
`Inline code` has back-ticks around it
| Left column | Center column | Right column |
|:------------|:-------------:|-------------:|
| Cell 1 | Centered | $1600 |
| Cell 2 | Cell 3 | $12 |
Simple style
Left column | Center column | Right column
:----------:|:-------------:|:-----------:
Cell 1 | Centered | $1600
Cell 2 | Cell 3 | $12
A markdown table generator: tableconvert.com
Characters | Escape | Description |
---|---|---|
\ | \\ | backslash |
` | \` | backtick |
* | \* | asterisk |
_ | \_ | underscore |
{} | \{} | curly braces |
[] | \[] | square brackets |
() | \() | parentheses |
# | \# | hash mark |
+ | \+ | plus sign |
- | \- | minus sign (hyphen) |
. | \. | dot |
! | \! | exclamation mark |