Skip to content

Markdown Syntax Cheat Sheet

Markdown is a lightweight markup language with plain-text-formatting syntax. It is designed so that it can be converted to HTML and many other formats using a tool by the same name.

Headings

# h1
### h3
Heading 1
========
Heading 2
--------

Emphasis

*italic*
_italic_
**bold**
__bold__
`code`

Links

[link](http://google.com)
[link][google]
[google]: http://google.com
<http://google.com>

Images

![Image alt text](/path/to/img.jpg)
![Image alt text](/path/to/img.jpg "title")
![Image alt text][img]
[img]: http://foo.com/img.jpg

Code

    4 spaces
    Generates a code block
```
code fences
```
```js
codeFences.withLanguage()
```

Blockquotes

> This is
> a blockquote
>
> > Nested
> > Blockquote

Horizontal Rules

----
****