Markdown

Feb 1, 2016


Though I use the editor named “Haroopad” and it’s helpful when I forget some tags, I think it is necessary to write down some that frequently used.


title

H1 #

H2 ##

H3 ###

H4 ####

H5 #####

H6 ######

e.g

### Hello World<h3>Hello World</h3>


Bold

**text** -> **text**


Emphasize

*text* -> *text*


Inline code

\`text\` -> text

==In some cases, I prefer to use <code></code>.==


Code block
```
code here
```
code here

Highlight

==text== -> ==text==


Delete line

~~text~~ -> ~~text~~


Underline

++text++ -> ++text++


Picture

![title](http://im1.tongbu.com/appicon/app/961/61/757580961_42C32AB0.jpg?20140113104112) -> hint


[text](http://www.baidu.com) -> text

OR

[text][1]
[1]:www.baidu.com "title"

-> text


quote

> text

text


ordered list

e.g

1. a
1. b
6. c

->

  1. a
  2. b
  3. c

==Well, the number you write is not related to the number shown==


unordered list

* or - or + all can be used.

e.g

* a
+ b
 - c

->

  • a
  • b
  • c

hr

--- or *** or * * *

Well, I have already shown it.


Check box
- [ ] a
- [x] b
- [ ] c
  • a
  • b
  • c

Inline Formula

$$$y_{10}=x^{20}$$$ -> y10=x20

==Do you remember the tag <sup></sup> and <sub></sub>?==


Formula Block
$$
y_{10}=x^{20}
$$

->

y10=x20

Jump within a page
<a id="head"></a>
// This label I have already written before at the beginning.
...
[Click me](#head)

Click me


Table
| column1 | column2 | column3 | column4 |
|--------|--------:|:-----|:---:|
|    1    |    a    |    A   |   i   |
|    2    |    b    |    B   |   j   |
|    3    |    c    |    C   |   k   |
|    4    |    d    |    D   |   l   |
column1 column2 column3 column4
1 a A i
2 b B j
3 c C k
4 d D l

Escape Character
\\
\`
\*
\_
\{\}
\[\]
\(\)
\#
\+
\-
\.
\!

\

`

*

_

{}

[]

()

#

+

-

.

!