Cheat Sheet for markdown writing.

Headings

1
2
3
4
5
6
# h1 Heading
## h2 Heading
### h3 Heading
#### h4 Heading
##### h5 Heading
###### h6 Heading

h1 Heading

h2 Heading

h3 Heading

h4 Heading

h5 Heading
h6 Heading

Horizontal Rules

1
2
3
4
5
___

---

***



Typographic replacements

1
(c) (C) (r) (R) (tm) (TM) (p) (P) +-

© © ® ® ™ ™ § § ±

Emphasis

1
2
3
4
5
6
7
8
9
**This is bold text**

__This is bold text__

*This is italic text*

_This is italic text_

~~Strikethrough~~

This is bold text

This is bold text

This is italic text

This is italic text

Strikethrough

Blockquotes

1
2
3
> Blockquotes can also be nested...
>> ...by using additional greater-than signs right next to each other...
> > > ...or with spaces between arrows.

Blockquotes can also be nested…

…by using additional greater-than signs right next to each other…

…or with spaces between arrows.

Unordered List

1
2
3
4
5
6
7
+ Create a list by starting a line with `+`, `-`, or `*`
+ Sub-lists are made by indenting 2 spaces:
- Marker character change forces new list start:
* Ac tristique libero volutpat at
+ Facilisis in pretium nisl aliquet
- Nulla volutpat aliquam velit
+ Very easy!
  • Create a list by starting a line with +, -, or *
  • Sub-lists are made by indenting 2 spaces:
    • Marker character change forces new list start:
      • Ac tristique libero volutpat at
      • Facilisis in pretium nisl aliquet
      • Nulla volutpat aliquam velit
  • Very easy!
1
2
3
4
5
![Alt text][id]

With a reference later in the document defining the URL location:

[id]: https://octodex.github.com/images/dojocat.jpg "The Dojocat"

Alt text

With a reference later in the document defining the URL location:

Subscript / Superscript

1
2
3
Superscript: 19^th^

Subscript: H~2~O

Superscript: 19th

Subscript: H2O

Footnotes

1
2
3
4
5
6
Footnote 1 link[^first].

Footnote 2 link[^second].

[^first]: Footnote **can have markup**
[^second]: Footnote text.

Footnote 1 link[1].

Footnote 2 link[2].

Hexo Built-in Tags

1
2
3
4
5
6
7
{% jsfiddle o2gxgz9r default light %}

{% gist b6365e79be6052e7531e7ba6ea8caf23 'Sample gist' %}

{% iframe https://www.bing.com %}

{% youtube l_lblj8Cq0o %}

Reference


This is the end of post


  1. Footnote can have markup ↩︎

  2. Footnote text. ↩︎