The best tool for taking notes Typora, Markdown syntax is commonly used
Markdown title
Markdown syntax | Grammatical meaning |
---|---|
# 一级标题 |
Level 1 heading |
## 二级标题 |
Secondary heading |
### 三级标题 |
Three-level heading |
#### 四级标题 |
Level 4 heading |
##### 五级标题 |
Level 5 heading |
###### 六级标题 |
Sixth level heading |
- The display effect is as follows:
Markdown paragraph
- To create paragraphs, use blank lines to separate one or more lines of text.
Markdown syntax | HTML |
---|---|
Markdown is a markup language in plain text format. Through simple markup grammar, it can make ordinary text content have a certain format. | Markdown is a markup language in plain text format. Through simple markup grammar, it can make ordinary text content have a certain format. |
- The display effect is as follows:
Markdown is a markup language in plain text format. Through simple markup grammar, it can make ordinary text content have a certain format. Markdown is a markup language in plain text format. Through simple markup grammar, it can make ordinary text content have a certain format.
Markdown is a markup language in plain text format. Through simple markup grammar, it can make ordinary text content have a certain format. Markdown is a markup language in plain text format. Through simple markup grammar, it can make ordinary text content have a certain format.
Markdown emphasis
Bold:
Need to add two asterisks before and after the bold
Markdown syntax | Demo effect |
---|---|
**bold text**. |
** blood text ** |
Italic
Add an asterisk or underscore before and after a word or phrase
Markdown syntax | Demo effect |
---|---|
*斜体* |
Italic |
Bold and italic
Add three asterisks before and after
Markdown syntax | Demo effect |
---|---|
***斜体*** |
Italic |
Strikethrough
Wrap the text to be struck out with two ~~
Markdown syntax | Demo effect |
---|---|
~~这是加删除线的文字~~ |
Markdown quote
Single block quote
- To create a block quote, add a paragraph before the
>
symbol.
> Markdown是一种纯文本格式的标记语言。通过简单的标记语法,它可以使普通文本内容具有一定的格式。
The effect is as follows:
Markdown is a markup language in plain text format. Through simple markup grammar, it can make ordinary text content have a certain format.
Nested references
- Block references can be nested. Before adding a paragraph to be nested
>>
symbols.
> Markdown是一种纯文本格式的标记语言。通过简单的标记语法,它可以使普通文本内容具有一定的格式。
>
>> Markdown是一种纯文本格式的标记语言。通过简单的标记语法,它可以使普通文本内容具有一定的格式。
The effect is as follows:
Markdown is a markup language in plain text format. Through simple markup grammar, it can make ordinary text content have a certain format.
Markdown is a markup language in plain text format. Through simple markup grammar, it can make ordinary text content have a certain format.
Markdown list
Ordered list
Markdown syntax | significance |
---|---|
1. 序号1 |
Ordered list |
Unordered list
Markdown syntax | significance |
---|---|
- 序号1 |
Unordered list |
The effect is as follows:
- Ordinal number 1
- No. 2
- No. 1
- No. 2
- No. 3
- No. 4
Markdown code
- Put the written text configuration information code and other content into the code block.
```java```
```txt```
The effect is as follows: the following is a java code block
public class Test{
public void main(String args[]){
System.out.println("Hellow World!");
}
}
select * from test;
Markdown divider
- To create a divider, use three or more asterisks (
***
), dashes (---
), or underscores (___
) on a single line and no other content.
The effect is as follows:
Markdown link
- The link text is placed in square brackets, the link address is placed in the back brackets, and the link title is optional.
这是一个链接 [Markdown语法](<https://markdown.com.cn>)。
The effect is as follows:
This is a link Markdown syntax .
Markdown image
Static picture
- To add an image, use an exclamation mark (
!
), and then add alternative text in square brackets. The picture link is placed in parentheses. An optional picture title text can be added after the link in the brackets.
![这是图片](/assets/img/philly-magic-garden.jpg "Magic Gardens")
The effect is as follows:
Link image
[![狗子的图片](/assets/img/shiprock.jpg "Shiprock")](https://www.baidu.com)
Markdown escape characters
- To display the characters originally used to format the Markdown document, add a backslash character before the character.
The effect is as follows:
- * + _
Markdown table
Syntax format:
姓名|技能|排行
--|:--:|--:
刘备|哭|大哥
关羽|打|二哥
张飞|骂|三弟
The effect is as follows:
Name | skill | ranking |
---|---|---|
Liu Bei | cry | Big brother |
Guan Yu | hit | Second brother |
Zhang Fei | curse | Third brother |
Markdown flowchart
The syntax is as follows:
```mermaid
flowchat
st=>start: 开始
op=>operation: My Operation
cond=>condition: Yes or No?
e=>end
st->op->cond
cond(yes)->e
cond(no)->op
&```
The effect is as follows:
Markdown tool Typora
This tool is easy to use (take notes)