Markdown is a simple way to format text that looks great on any device. It doesn’t do anything fancy like change the font size, color, or type — just the essentials, using keyboard symbols you already know.
Type | Or | … to Get |
---|---|---|
*Italic* | _Italic_ | Italic |
**Bold** | __Bold__ | Bold |
# Heading 1 |
Heading 1 ========= |
Heading 1 |
## Heading 2 |
Heading 2 --------- |
Heading 2 |
[Link](http://a.com) |
[Link][1] ⋮ [1]: http://b.org |
Link |
![Image](http://url/a.png) |
![Image][1] ⋮ [1]: http://url/b.jpg |
|
> Blockquote |
Blockquote |
|
* List |
- List |
|
1. One |
1) One |
|
Horizontal rule: --- |
Horizontal rule: *** |
Horizontal rule:
|
`Inline code` with backticks |
Inline code with backticks
|
|
``` # code block print '3 backticks or' print 'indent 4 spaces' ``` |
····# code block ····print '3 backticks or' ····print 'indent 4 spaces' |
# code block
print '3 backticks or' print 'indent 4 spaces' |
Want to experiment with Markdown?
Try our 10 minute interactive tutorial, or play with the reference CommonMark implementation.
Need more detail?
Refer to the official CommonMark spec, or discuss CommonMark with us.