Use of Markdown

Source: Internet
Author: User

| 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:

  
 
  1. | Tables | Are | Cool |
  2. | ------------- |:-------------:| -----:|
  3. | col 3 is | right-aligned | $1600 |
  4. | col 2 is | centered | $12 |
  5. | zebra stripes | are neat | $1 |

The effect is as follows:

is
Tables 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

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.