Markdown Basic Use

Source: Internet
Author: User

My First Markdown

tags (space delimited): Uncategorized

# Markdown of 11 basic grammars
# # Set Title
Enter Body here
Caption settings (make the font larger, as the word title means)
There are two ways to set the 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)

# # block Comment (blockquote)
> by adding ">" at the beginning of the text to indicate block comments. When you add five blank between > and text, the text of the block comment changes. )

# # Italic Body
* will need to be set to any of the text at both ends of the use "(here add \ is to escape, otherwise, and the following asterisk will be connected with the previous asterisk) \*" or "_" Clip up *

# # Bold Body
Use 2 "\*" or "_" on both ends of text that you want to set to italic, such as * * asterisk * *

# # unordered List
Add (*,+,and-) to the beginning of the text to implement the unordered list. Note, however, that you need to add spaces between (*,+,and-) and text. (Recommended: A document is just a representation of an unordered list), such as
* 1
* 2
* 3

# # ordered List
Use the numbers to follow the period. (There are also spaces)
1. First line
2. Second line
3. Third line

# # Links
There are two ways to implement links in markdown, which are inline and quoted.
Inline mode: This is a [example link] (http://example.com).
Citation method:
I get ten times more traffic from [google][1] than from [yahoo][2] or [msn][3].

[1]: http://google.com//"google"
[2]: http://search.yahoo.com "Yahoo search"
[3]: http://search.msn.com "MSN Search"

# # pictures (Images)
The way the pictures are handled and how they are handled is very similar.
Inline mode:
! [ALT text] (/path/to/img.jpg "Title")

Citation method:
! [ALT text] [ID]

[Id]:/path/to/img.jpg "Title"

Attention:! [ALT text] (/path/to/img.jpg "title") and [id]:/path/to/img.jpg "title" are blank lines to continue editing

# # code (in HTML called code)
There are two ways of implementing this:
The first type: A code box appears for simple text. Use ' <blockquote> '. (not single quotation marks but lower left-hand corner of ' ESC ')
The second type: large text needs to implement the Code box. Use tab and four spaces.

# # footnote (footnote)
Here's how it's implemented:
Hello[^hello]
[^hello]:hi

# # Underline
Add three "-" below the blank line. (added "-" at the bottom of the text, the implementation of level 2 headings)

---

Markdown Basic Use

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.