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;
}