Knowledge Point Extension (2) markdown simple operation

Source: Internet
Author: User

Two online markdown editors:

http://mahua.jser.me/

http://maxiang.info/

or choose to write in Jane's book.

a good understanding and introduction: http://sspai.com/25137

to view all the syntax, refer to: http://wowubuntu.com/markdown/index.html

markdown Tools under Windows: A model called Markdownpad , the other one is called Markpad .

1. Title

If a piece of text is defined as a title, just add the # number to it before the text

# level headings

# # Two level headings

# # # Three titles

And so on, a total of six levels of title, the most standard markdown syntax is to add a space after the # number.

2. List

The display of the list only needs to precede the text with or to become an unordered list, and the sequence list is preceded by the text with - * 1. 2. 3. a space between the character and the text.

3. References

Just add > this angle bracket (greater than sign) before the text to

>> indicates a level two reference

4. Pictures and connections

We can use the following syntax to add a picture

! [Alt text] (/path/to/img.jpg)

Detailed descriptions are as follows:
An exclamation!
followed by a square bracket, where the alternative text of the slice
followed by an ordinary bracket, where the URL of the piece

The insert link is much like the syntax for inserting a picture, the difference between a ! number

5. Bold and Italic body

Use two * to contain a paragraph of text is the syntax of bold, with a * paragraph containing a text is italic syntax.

For example: * * here is bold * * * here is italic *

6. Forms

Examples are as follows:

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

7. Code

If we want to add code to the article, we have two ways

The first way is to wrap the code with an inverted quotation mark (the button below the ESC key).

The second way is to indent rows with tabs or at least 4 spaces.

8. Split Line

Enter 3 or more dashes, asterisks, or underscores in a single line. You can enter any space between the dash and the asterisk ...

9. Line break

If we want to wrap a line of text, we can enter at least two spaces in the line where we need to break, and then enter.

Knowledge Point Extension (2) markdown simple operation

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.