This article is ready to copy the Help document, plus some of your own explanations. UML and Latex are not spoken in this article. Be prepared to draw two articles for a special lecture.
1. Title and font size
Markdown The font size is too small, think should add some more.
Writing in a different number of words can be done with different headings, as follows:
# 一级标题## 二级标题### 三级标题#### 四级标题##### 五级标题###### 六级标题
Heading level two heading level three heading four level heading five level heading six level heading
The need to note here is #[space] title must have a space
The equal sign and minus sign can also be used to write the title, but only the two-level headings are written, and the number of minus and equal signs does not affect the font size of the headings, as follows:
二级标题=========二级标题---------
Title Two level II heading
Always feel that this grammar is strange. Because -
it is most likely the first row in the unordered list. So this syntax is judged by -
whether there is a space behind it. Feel the grammar is very uncomfortable. What is this for?
Parse: Markdown Grammar is similar
Transfer from A to B by character -
, in B state markdown that the above characters are bold. If the next character is [space], then markdown is considered to be an unordered list, and the state of all the text on the line above is not bold. Although this is a change of state. But in our eyes, this is the state of the previous text changes. So we think this grammar is uncomfortable. Because we are used to writing in the same direction. Instead of writing a review in another direction.
2. Order and Disorder
Use of unordered lists, followed by a space after the symbol "-". As follows:
Also note that -
it must be the start character, if not then -
there can be only spaces or tab characters.
- 无序列表1- 无序列表2- 无序列表3
- No sequence table 1
- No sequence table 2
- No sequence table 3
If you want to control the hierarchy of the list, you need to use a space or tab before the symbol "-". As follows:
- 无序列表1- 无序列表2 - 无序列表2.1 - 列表内容 - 列表内容
- No sequence table 1
- No sequence table 2
- Unordered List 2.1
- List Contents
- List Contents
There are sequence tables used in numbers and symbols "." After adding a few spaces, as follows:
1. 有序列表12. 有序列表2 3. 有序列表2.1 4. 有序列表2.2 - 这 - 无 1. 有 2. 序 - 序3. 有序列表3
- With Sequence list 1
- With Sequence List 2
- With Sequence List 2.1
- With Sequence list 2.2
- With Sequence list 3
If you want to distinguish levels, you can also add spaces or tabs before the numbers.
3. References
The format of the reference is to use the symbol ">" after writing the text. ">" does not affect after adding a space. As follows:
> 我说的都是我说的——帐前卒
I said everything I said--before the bill.
4. Bold and italic
Bold and Italic: one *
two *
or three *
. Note **[你的字符]**
*
There is no space between the number and your character.
One *
: *你是斜体*
you are italic
Two *
: **不对,你是粗体**
No, you're a bold one.
Three *
: ***你又粗又斜***
You're thick and slanted .
5. Links
- Add a link in the reference, the first bracket adds the text you want to add, the second bracket is the ID of the reference link, and then in the reference, use the ID plus link:
[link text][id] [id]: http://example.com/ "optional title here"
The above text will be shown as:
Link text
Directly referencing the link in the text, using angle brackets directly, add the link to the angle brackets can be achieved, as follows:
http://example.com/or [email protected]
Show below:
http://example.com/or [email protected]
- Insert the Internet slice in the following format:
![这里写图片描述](http://img3.douban.com/mpic/s1108264.jpg)
或者如下面的写法:![这里写图片描述][jane-eyre-douban][jane-eyre-douban]: http://img3.douban.com/mpic/s1108264.jpg`
# # 6. Code block-If you need to reference code within a line, just use the anti-quote ' cause, as follows: Use the ' printf () ' function.-to start the paragraph with the TAB key, will be considered a code block, as follows: echo "Hello World"; -If the tab doesn't work, you need to use three anti-quotes ' For example: The following is even highlighted.
<php> echo"hello world";</php>
7. Dividing lines and strikethrough
You can create a separator line with more than three asterisks, minus signs, and a bottom line in one line, and you need to empty a line above the divider. As follows:
---****___展示如下:
Delete the use of the line, the need to delete the text before and after the use of two symbols "~", as follows
text.~~
Mistaken text.
8. Forms
You can use a colon to define the alignment of the table, as follows:
| tables | are | cool | | ------------- | :------------- :| -----:| | Col 3 is | right-aligned | $1600 | | Col 2 is | Centered | $12 | | Zebra Stripes | Is Neat | $1 | | somemissed | | | | $20 |
Tables |
| is
Cool |
Col 3 is |
right-aligned |
$1600 |
Col 2 is |
Centered |
$ |
Zebra Stripes |
Is neat |
$ |
Somemissed |
|
|
|
|
$ |
CSDN markdown Editor Third chapter Basic grammar