Markdown Concise Grammar
Markdown is a minimalist "markup language" that converts text to HTML, which is usually used by large yards of farmers. It does not pursue all-inclusive, simplicity is supreme, is the so-called not seeking the most expensive, only the best.
This article introduces markdown basic syntax, little content, a line of syntax one line example, learn to easily write tall documents, no need for various editors to tune the article format. In addition, the Internet has various platforms under the Markdown tools available, there are online, I directly use sublime to fix, Markdown was originally to pursue simplicity, get a tool not superfluous. Emphasize
Asterisks and underscores can be, only italic, double is bold, the symbol can be crossed lines, the symbol can be added space
Format:
* * A man came to Tennessee * *
no doubt
* I made the pie
is the world's
most delicious _
Display effect:
A man came to Tennessee
No doubt
* I made the Pies
It's all over the world *
The best slice of the line
Three or more-_*, must be a single line, can contain spaces
Format:
¯¯¯
Show effects: spaces, wrapping
Semi-square large space   or & #8194;
Whole-party large space   & #8195;
Continuous line of space & #160;
2 spaces, 
Line wrap, press more than 2 spaces consecutively, and then enter a reference
Format:
> References
Display effect:
Reference
The space before the inner symbol must be
Format:
references in > References >> references
Display effect:
Reference
Reference headers in references
Format:
# first-level title
# # Two title
### three-level title #
four-level title
##### five-level title
###### six-level title
Unordered list
The space after the symbol can not be less,-+* effect, but not mixed, because the mixture is a nested list, the content can be very long
Format:
-unordered list
+ unordered list
* unordered list
-unordered list: I'm very long. I am also very long. That's more than a. More than. I have so long, you have my long? I have so long. Well, you won.
Display effect:
-Unordered list
+ Unordered List
* Unordered List
-unordered list: I am very long. I am also very long. That's more than a. More than. I have so long, you have my long? I have so long. Well, you won. Ordered list
Numbers can not be omitted but unordered, the number of spaces after the dot can not be less
1. Ordered list
2. Ordered list
3. Ordered list
4. Ordered list Nesting list
-+* can be recycled, but the space after the symbol can not be less, the space before the symbol can not be less
Format:
-Nested list
+ nested list
+ nested list
-nested list
* Nested list
-nested list
Display effect:
-Nested list
+ Nested list
+ Nested list
-Nested list
* Nested list
-Nested list text hyperlink: inline mode
Format:
Blog (https://mingdaa.github.io/)
Display effect:
Blog picture Hyper-chain
Format:
! [Image] (http://picture address)
Display effect:
Index hyper-chain: Reference mode
Index, 1 2 can be any character
Format:
[My blog] [1]
! Picture [2]
[1]:https://mingdaa.github.io/
[2]:https://picture Address
Display effect:
My blog
Automatic link
Angle Bracket
Format:
Display effect:
https://mingdaa.github.io/Code
Format:
'
class {public
static void Main (string[] args)
{
System.out.println ("Hello world!");
}
' "
Display effect:
Class
{public
static void Main (string[] args)
{
System.out.println ("Hello world!");
}
Comments
You can use an HTML annotation that will not be displayed in HTML
Format:
<!--annotation-->
Escape character
The escape character in the markdown is \ and needs to be escaped by:
\ back Slash
' Inverted quotes
* Asterisk
_ Underline
{} curly Braces
[] Bracket
() parenthesis
# Well No.
+ Plus
-Minus sign
. English period
! Exclamation table
Format:
---|---
Top Left | Top Right
Lower left | Lower right
Display Effect: Header 1 Header 2 left upper right upper left lower right down HTML useful character entity display result description Entity name entity number Space & #160; < less than number < & #60; > Greater than number > & #62; & and Number & & #38; "Quotes " & #34; ' Apostrophe ' (ie not supported) & #39; ¢ (cent) ¢ & #162; £ pound (pound) £ & #163; ¥ (Yen) ¥ & #165; € EUR (Euro) € & #8364; § Section § & #167; © Copyrights (copyright) © & #169; ® Registered Trademarks ® & #174; TM Trademarks ™ & #8482; X multiplication × & #215; Division ÷ & #247; Other
HTML tags can be used directly in the text, but the rows are added back and forth.