Markdown Getting Started grammar

Source: Internet
Author: User
Tags add numbers

Markdown First Knowledge

Markdown is a lightweight = = Markup Language for writing, using simple syntax instead of typography, instead of having to use a lot of time to compose in Word, so that we can focus on the word without being affected. Markdown's syntax is concise, easy to learn, and more powerful than plain text, so a lot of people use it to write blogs.

Markdown Advantages and Disadvantages
    • As long as the support markdown place can get the same editing effect, get rid of the trouble of typesetting, concentrate on writing.
    • Simple to operate. For example, when editing a title, you only need to add a # to the title content.
Disadvantages
    • There are no fancy formats like word.
    • Complex formats, such as tables, are not supported.
    • Need to memorize some syntax.
    • Some platforms do not support markdown editing mode.
First, the title

Add # to the text you want to set as a caption, plus # to indicate a level header, # #表示二级标题,,##### #表示六级标题.

Note: The canonical wording requires a space before the text.

Markup Language Examples:

# 一级标题  ## 二级标题  ### 三级标题  #### 四级标题  ##### 五级标题  ###### 六级标题  

Text Output effect:

Heading level two heading level three heading four level heading five level heading six level heading two, font 1, bold

To bold text left and right with two * number wrapped up.
Markup Language Examples:

Text Output effect:

Bold text

2. Italic body

The text to be inclined is wrapped up with a * number, respectively.
Markup Language Examples:

*变斜的文字*  

Text Output effect:

Italic text

3, Italic Bold

Italic bold text is wrapped up in three * * * respectively.
Markup Language Examples:

***斜体加粗的文字***

Text Output effect:

Italic bold text

4. Delete

The deleted text is wrapped up in two ~ ~ ~ each.
Markup Language Examples:

~~删除的文字~~

Text Output effect:

Deleted text

Iii. references

Add > before the text you want to reference.
Markup Language Examples:

>要引用的内容

Text Output effect:

The content to reference

Iv. inserting pictures

Markup Language Examples:

![microsoft](https://ss0.baidu.com/6ONWsjip0QIZ8tyhnq/it/u=3672643824,3482317330&fm=173&app=25&f=JPEG?w=580&h=385&s=8D80E45E10D0886B5EB2A79B0300D09F "微软图标")  

Text Output effect:

Five, hyperlinks

Markup Language Examples:

[百度](https://www.baidu.com/ "baidu")  

Text Output effect:

Baidu

Vi. list 1, unordered list

Add-+* to the list before you can.

Markup Language Examples:

-无序列表1  +无序列表2  *无序列表3  

Text Output effect:

    • No sequence table 1
    • No sequence table 2
    • No sequence table 3
2. Ordered list

Add numbers and before the list.

Markup Language Examples:

1.有序列表1  2.有序列表2  3.有序列表3  

Text Output effect:

    1. With Sequence list 1
    2. With Sequence List 2
    3. With Sequence list 3
Vii. Forms

Markup Language Examples:

表头1|表头2|表头3  -----|:---:|----:  内容1|内容2|内容3 内容4|内容5|内容6

Text Output effect:

Table Header 1 Table Header 2 Table Header 3
Content 1 Content 2 Content 3
Content 4 Content 5 Content 6
Eight, code 1, single-line code

The code is wrapped up in an inverted quotation mark.
Markup Language Examples:

`void main(){}`

Text Output effect:

void main(){}

2, multiple lines of code

Add three "packets between blocks of code.
Markup Language Examples:

```void main()  {      printf("hello world!");  }  ```

Text Output effect:

    void main()      {          printf("hello world!");      }  
Reference

Markdown Basic Syntax
Use Markdown to draw a flowchart

Markdown Getting Started grammar

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.