| Welcome reprint; Reprint Please specify, thank you |
This article is mainly the author uses markdown some experience summary.
Header settings
There are two ways to set a title in Markdown:
- The first one: by adding "=" and "-" below the text, they represent a primary heading and a level two heading.
- The second type: Add "#" to the beginning of the text, and the number of "#" headings. (only 1~6 level headings, 1-level title font maximum)
As shown below:
Title 1 Title 2 title 3 list
- Sequence list: Add '-' or ' * ' before the text
- Unordered list: Add 1 before the text. 2.3.
- Note: You need to add a character space between the symbol and the text. *
Reference
If you need to reference a sentence elsewhere, you need to use a reference format.
- That is, adding > this angle bracket (greater than sign) to the text, the effect is as follows:
Reference examples
Pictures and Links
The insert link is like the syntax for inserting a picture, the difference is in one!
- The picture is:! {Imgcap} {/imgcap}
- Links to:
Bold and italic
- Bold: Contains a text with two *
- Italic: Contains a paragraph of text with a *
The effect is as follows:
this is bold . this is Italic .
Form
The table is a more troublesome place for Mardown, as in the following examples:
| Tables | Are | Cool |
| ------------- |:-------------:| -----:|
| col 3 is | right-aligned | $1600 |
| col 2 is | centered | $12 |
| zebra stripes | are neat | $1 |
The effect is as follows:
Tables |
| is
Cool |
Col 3 is |
right-aligned |
$1600 |
Col 2 is |
Centered |
$ |
Zebra Stripes |
Is neat |
$ |
Code box
- The first: Simple text requires two ' to wrap the middle code together
- The second type: large text, using two "'
Footnote
- Implementation mode: Hello[^hello]
[^hello]: Hi
This article refers to:
http://www.jianshu.com/p/1e402922ee32/Brief Book Use instructions
Http://www.markdown.cn/markdown Official Manual
From for notes (Wiz)
Use of Markdown