Original link: http://sguotao.com/2015/03/23/Markdown-Grammer.html 1. Title Settings
Set the caption in the markdown,
First: By adding "=" and "-" below the text, they represent a level heading and a level two heading.
Second: At the beginning of the text with "#", the number of "#" to represent a few levels of headings. (Altogether only 1~6 level title, 1 level title font maximum) 2. Block comment
Block comments are represented by adding ">" at the beginning of the text. (When you add five blank between > and text, the text of the block annotation changes.) ) 3. Italic
Use 1 "*" or "_" clips at both ends of the text you want to italic 4. Bold
Use 2 "*" or "_" clips at both ends of the text you want to italic 5. Unordered list
Add (, +, and-) to the beginning of the text to implement the unordered list. Note, however, that you need to add spaces between (, +, and-) and text. 6. Ordered list
Use a number to follow the period. (There are also spaces) 7. Link
There are two ways to implement links in markdown, namely inline and reference.
Inline mode: This is a [example link] (http://sguotao.com).
Reference mode: I get the Times more traffic from [google][1] than from [yahoo][2] or [msn][3].
[1]: http://google.com/"google"
[2]: http://search.yahoo.com/"Yahoo search"
[3]: http://search.msn.com/"MSN Search" 8. Pictures
How the image is handled and how it is handled is very similar.
Inline mode:! [ALT text] (/path/to/img.jpg "Title")
Reference mode:! [ALT text] [ID]
[ID]:/path/to/img.jpg "Title" 9. Code (in HTML, the so-called code)
There are two ways to implement this:
First: Simple text appears in a code box. Use <blockquote>. (not single quotes but below ESC in the upper left corner)
The second type: large text needs to implement the Code box. Use tab and four spaces. 10. Footnote
Implemented in the following way: Hello[^hello]
[^hello]: Hi 11. Underline
Add three "-" horizontal lines below the blank line. (Before adding "-" to the bottom of the text, the implementation of the 2-level heading)
Http://www.cnblogs.com/hnrainll/p/3514637.html