Brief rules of Markdown grammar
title
Title is the most commonly used format for each article, in Markdown, if a paragraph of text is defined as a title, just add the # number before the text.
# level headings
# # Two level headings
# # # Three titles
And so on, a total of six levels of title, it is recommended to add a space after the pound, this is the most standard Markdown syntax. List
Familiar with the HTML of the classmate must know that there is a sequence table and unordered list of differences, under Markdown, the list of the display only need to precede the text with-or * can become unordered list, the sequence list directly before the text plus 1. 2.3. A space in which to add a character between the symbol and the text.
References
If you need to refer to a small section of a sentence elsewhere, then use the quoted format.
> such as this
Just add > This angle bracket (greater than sign) to the text before you can
Pictures and links
The insert link is like the syntax for inserting a picture, the difference is in one!
The address of the image to be inserted needs a bed, here is recommended CloudApp service, generate the URL address.
Bold and Italic
Markdown Bold and italic are also very simple, with two * contains a paragraph of text is the syntax of bold, with a * contains a paragraph of text is italic syntax.
For example: Here is the bold body here is the Italic table
The form is where I find the Markdown more tiring, as in the following examples:
| Tables | are | Cool |
|-------------|:-------------: |-----: |
| Col 3 is | right-aligned | $1600 |
|-Col 2 is | Centered | $ |
| Zebra Stripes | Is Neat | $ |
This syntax generates the following table:
Tables |
| is
Cool |
Col 3 is |
right-aligned |
$1600 |
Col 2 is |
Centered |
$ |
Zebra Stripes |
Is neat |
$ |
Code Box
If you are a program ape, you need to use the elegant Reference Code box in the article, the implementation under the Markdown is very simple, just need to two ' to wrap up the middle code, such as ' Code '. Legend:
Use the TAB key to indent. Split Line
The syntax of the split line only requires a separate line, and you can enter three asterisks in a row. Summary
Here, Markdown Basic Grammar in the daily use of the basic is no big problem, as long as more practice, with good tools, writing things will certainly be flowing. More grammar rules, in fact, the MOU's Help document example is very good, when you first use the MOU, will display the document, second, you can also use the Cmd+r shortcut key during the writing process to quickly open the document, to review and learn grammar at any time.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Shortcut keys are mainly used in tools, such as Markdownpad inside,
Shortcut keys
Bold CTRL + B italic CTRL + I Reference CTRL + Q Insert Link Ctrl + L insert code CTRL + K Insert Picture Ctrl + G lift Title Ctrl + H have sequence table Ctrl + O unordered list Ctrl + U Dash CTRL + R Undo Ctrl + Z Redo Ctrl + Y
Reference: http://sspai.com/25137