Quick start with Markdown
Markdown title
After inputting it once #and pressing spaceit, a level 1 heading will be generated.
Inputting it twice #and pressing spaceit will generate a level 2 heading.
By analogy, a total of 6 levels of headings are supported.
Reasonable use of headings is helpful to the generation of the catalog
Markdown text style
*斜体* _斜体_ 快捷键Ctrl+I
**加粗文本** __加粗文本__ 快捷键Ctrl+B
~~删除文本~~
==标记文本==
>引用文本
H 2 O = H ~ 2 ~ O
2 10 = 2 ^ 10 ^
Markdown lines
Dividing line Use
three or more (*) asterisks (-) minus (_) underlines in a row to create a dividing line
* * *---_ _ _
underline is
created using a pair of <u></u> tags underline
strikethrough
using a pair of ~ ~ ~ ~ to create a strikethrough line
Markdown list
Unordered lists use * (asterisk) + (plus sign) or-(minus sign) as list markers
- Unordered list
- Unordered list
- Unordered list
Ordered list use. (dot) as list marker
- Ordered list
- Ordered list
- Ordered list
List nesting only needs to add 4 spaces in the sublist
Markdown block
> A greater than sign represents a block
Block nesting
>
>>
>>>
Markdown table
To make a table, use | (vertical bar) to divide different cells.
Use-(horizontal bar) to divide the header and other rows
| Header| Header| Header|
|-|-|-|
|Cell|Cell|Cell|
|Cell|Cell|Cell|
Header | Header | Header |
---|---|---|
Cell | Cell | Cell |
Cell | Cell | Cell |
Center left and right
-: Set the content in the table to align to the right
:-Set the content in the table to align to the left
: -: Set the content in the table to align to the center
Insert link and image
[Link name] (Link address)
[Baidu click] (https://www.baidu.com) The
picture can be dragged directly
Insert code
A line of code snippet can use `(backquote) to surround the code
`System.out.println()`
Multiple lines of code can be enclosed by 3 `(backquotes) and mark the language that the code belongs to
```java
public static void main(String[] args){
System.out.println();
}
```
other
-
Comment in Markdown
[]: square brackets and colon
[java]: cross-platform language -
Radio button
-[]
-[x]- single button
- Radio button selected state
-
Footnote
A text with footnote[^2] -
Shortcut key
Undo: Ctrl/Command+ Z
Redo: Ctrl/Command+ Y
Bold: Ctrl/Command+ B
Italic: Ctrl/Command+ I
Title: Ctrl/Command+ Shift+ H
Unordered list: Ctrl/Command+ Shift+ U
Ordered list: Ctrl/Command+ Shift+ O
Check list: Ctrl/Command+ Shift+ C
Insert code: Ctrl/Command+ Shift+ K
Insert link: Ctrl/Command+ Shift+ L
Insert picture: Ctrl/Command+ Shift+ G
Find: Ctrl/Command+ F
Replace: Ctrl/Command+G