Brief rules of Markdown grammar

Source: Internet
Author: User
Tags split

First look at the basic syntax of markdown (for ease of placing it in the code area, otherwise not good output)

# Markdown Syntax Brief rules
* * *
# title
title is the most commonly used format for each article, in Markdown, if a paragraph of text is defined as a title, just add the # number before the text. One # to six # represents Heading 1 to Heading 6 * * * #分割线 I am a gorgeous split line, three * * * * * * * * * * * * * * * * * * * *
list List
display only need to precede the text with-or * can become unordered list, The sequence list is added 1 directly before the text. 2.3. A space between the symbol and the text with a character
# # # ordered
1. I am
2.
3.
4. Order
# # # unordered
* 1
* 2
* 3
# # # Similar two-level nesting
* 1
 + 1.1
 + 1.2
 + 1.3
* 2
 + 2.1
 + 2.2 *
* *
#引用
> I am a first-class reference
>> I am level two nesting
>>> I am level three nested > I am a first-class

reference

* * *
#图片和链接
Link:
[I am Baidu] (https ://www.baidu.com)
Picture:
![ Cmd-markdown-logo] (https://www.zybuluo.com/static/img/logo.png)
* *
# Bold/Italic
* I am italic *
* * I am bold * *
* * *
# First line Indentation input
method to full-width, enter two spaces can
* * * #代码 the beginning of the end of the
input "".
#include <iostream>
using namespace std;
int main ()
{
    cout << "Hello World" << Endl;
    return 0;
}

The effect diagram is as follows: Brief rule title of markdown syntax

Title is the most commonly used format for each article, in Markdown, if a paragraph of text is defined as a title, just add the # number before the text. One # to six # represent Heading 1 to heading 6 split Line

I'm a gorgeous split line, three * represents a list of split lines

The display of the list only needs to precede the text with-or * to become an unordered list, with the sequence table added 1 directly before the text. 2.3. The symbol to add a character between the text and the space ordered i was ordered out of order 1 2 3 similar to two layer nesting 1
1.1 1.2 1.3 2
2.1 2.2
References

I'm a first-class quote

I'm a level two nesting.

I'm a level three nesting.

I am a first-class reference to pictures and links

Link:
I am Baidu
Image:
Bold/Italic

I'm italic.
I am a bold First Line Indent

Input method to full width, enter two spaces to
* Code

#include <iostream>
using namespace std;
int main ()
{
    cout << "Hello World" << Endl;
    return 0;
}

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.