Markdown---Grammar

Source: Internet
Author: User
Tags first row

Articles on the csdn are now accustomed to using markdown to write more convenient and beautiful, here is a summary under the common markdown syntax:

1. Title:

Way 1 # H1 # H2 # # # # # # # #  H3
# #  H4
#####  H5 ######  H6

Way 2
H1 and H2 can also be displayed in the following way, below the text
level heading
= = = Level
Two heading
---

2. The text emphasizes:

Way 1
* Italic * 
* * Bold * * * 
* *

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * They will only be treated as ordinary symbols.

3. List:

Unordered list Mode 1
* unordered list
* subkey
* subkey

unordered list Way 2
+ unordered list
+ subkey
+ child

unordered list Way 3
-unordered list
- subkey
-The

ordered list of children
1. Line
2. The second row
3.

No mixed use of the third line
* Product introduction (Children without bullets)
    at this point, To indent with a tab or 4 spaces

* Product features
    1. Features 1
    -Features 2
    -Features 3
* Product features
    1. Function 1
    -function 2
    -function 3

Rendering Effect:
Unordered list Way 1 unordered list subkey subkey

Unordered list Way 2 unordered list subkey subkey

Unordered list Way 3 unordered list subkey subkey

Sequential Table method The first row the second row the third row

Ordered without mixing

Product introduction (Children without bullets)
In this case, to indent with a tab or 4 spaces

Product Features and Features 1
Features 2 features 3 product features
Function 1
Function 2 Function 3

4. Links:

5. Picture:

! [Write a description of the picture here] (the link to fill in the picture here)

6. Code and Syntax highlighting:

Mark a small line of code with ' surround
to mark a piece of code through the ' ' ', note that two "need to wrap

7. Line break:

Add 2 or more 2 spaces at the end of a line, or use the </br> label
line text, and the
second line of text

8. Horizontal Split Line:

Three ways * * * *---

Rendering effect

9. Escape character (backslash):

Markdown can use backslashes to insert symbols that have other meanings in the syntax, such as: if you want to make an emphasis on the way the asterisk is next to the text, you can precede the asterisk with a backslash:
\*literal asterisks\*
Markdown supports the following symbols preceded by a backslash to help insert a normal symbol:
\ Backslash  ' anti-quote  * Asterisk  _ underscore  {} curly Brace  [] square brackets  () brackets  #井字号  + plus sign  -minus sign  . Exclamation marks

10. Quotation marks or citations

This is a reference to the content
> referenced content
> referenced content
> referenced content

Rendering Effect:

Referenced content
Referenced content
Referenced content

11. Forms
You can use a colon to define the alignment of the table, the colon is left-aligned on the left, the colon is right-aligned on the right, the colon is the middle alignment, and the default is left-aligned

| A |  B | C |
| -|-:|:-:|
| A1 | A2 | a3|
| B1 | B2 | b3|
| C1 | C2 | c3|

The effect is as follows:

A B C
A1 A2 A3
B1 B2 B3
C1 C2 C3

12. Specify the font color

You can specify the font color by style, of course color can also be RGB format eg color= #0099ff
<font color=blue> Blue </font>
<font color=red > Red </font>
<font color=green > Green </font>

Rendering effect
Blue
Red
Green

13. Some common 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< c16/> have sequence list Ctrl + O
unordered lists Ctrl + U
Horizontal CTRL + R
Undo Ctrl + Z
Redo Ctrl + Y

Of course, Markdown's functional grammar is far more than these, the above only listed some of my own commonly used features, if interested in visiting Markdown official online learning.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.