learn Markdown

姓于者发来的,展示一下:)
1
2
3
4
## 了解

#### 1.标题[数个"#" + 空格 前置]

# 1 ## 2 ### 3 #### 4
1
2
3
4
5
6
7
8
9

标题会在大纲分级显示,可以跳转

记得打空格



#### 2.强调[用"**"或"__"包围]

**Welcome to NEU!** __Welcome to NEU!__
1
2
3
4
5
6
7
8
9

或者选中并且使用`Ctrl` + `B`

**hello world!**



#### 3.斜体[用"*"或者"_"包围]

*hello world!* _hello world!_
1
2
3
4
5
6
7
8
9
10
11
12
13

或者选中使用`Ctrl` + `I`

*hello world!*



***斜体+强调:***[用"***"或者"___"包围]



#### 4.删除线[用"~~"包围]

~~LH is addicted to play Genshin impact.~~
1
2
3
4
5
6
7

~~Someone is addicted to play computer games.~~

#### 5.高亮[用"=="包围]

**(记得开拓展)**

==i like apples and oranges.==
1
2
3
4
5
6
7

==I like apples and oranges.==



#### 6.代码[用"`"包围]

`bool a = true;`
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

**`bool a = true`**



#### 7.代码块[``` + Enter]

```c++
#include<iostream>
using namespace std;

int main(void)
{
cout <<"hello world!"<< endl;
return 0;
}

8.引用[“>” + space 前置]

1
2
> here is a dog.
>> its name is bingo.

引用可以嵌套

here is a dog.

its name is bingo.

9.无序列表[“-”,"+‘’ + space 前置]

1
2
3
- a cat
+ an another cat
*(its hard to use, so not be advised)

(三种都可以, Enter后会自动补全, Tab会缩进一级)

  • a cat.
  • an another cat.
    • they are all cats.

10.有序列表[数字 + “.” + space 前置]

1
2
3
4
i want to do three things.
1. play vscode.
2. play vscode.
3. play vscode, too.

(敲Enter自动补全, 按下Enter后按下Tab, 会缩进一级)

i want to do three things.

  1. play code.
  2. play code.
    1. play code, too.

11.上标[用^包围]

(记得开拓展)

1
in c, int's upper_bound is 2^31^ - 1 = 2147483647

in c, int's upper_bound is 231 - 1 = 2147483647.

12.下标[用"~"包围]

(记得开拓展)

1
2
H~2~O~2~
H~2~O

H2O2

H2O

13.注释["[^]"后置]

(记得开拓展)

1
2
> i want to learn markdown.
[^1]:written by Stephen Zhang.

i want to learn markdown

14.链接[用"[]" + “()” 分别包围文本和链接]

(记得开拓展)

1
2
[工头说你不是我们工地上的人](https://leetcode.cn)
[别吹牛了, 工头叫你搬砖了](https://www.neumathe.cn/#/index)

工头说你不是我们工地上的人
别吹牛了, 工头叫你搬砖了

15.任务列表[“- [ ]” + space 前置]

1
2
3
4
TodoList
- [ ] bilibili
- [ ] coding
- [x] sleep

List:

  • [ ] B

  • [ ] coding

  • [x] sleep

16. 表格[用"|"绘制表格边框]

1
2
3
4
| id | name | age |
| :--- | :---: | ---: |(left, mid, right)
|10086|china mobile|1|
|10010|china unicorn|2|
id name age
10086 china mobile 1
10010 china unicorn 2

17.图片[Ctrl + C/V]

goose

18.分割线[“***”,“—”,“___” + Enter]

1
2
3
4
***
---
___
//

- 最方便




19.表情[":"前置]

1
2
3
4
:sweat_smile:
:drooling_face:
:clown_face:
//

😅
🤤
🤡

深入学习

1.目录[自动生成]

1
[TOC](Typora特有)

2. 内联HTML代码[用"<></>"包围]

1
2
3
4
5
6
7
<div style = "text-align:center">
<font style = "color : red"> i couldn't use HTML...</font>
</div>

<center>简单的文字居中也可以这样</center>

<u>you should code other programs</u>

markdown 可以当作HTML写

.md文件可直接导出一个网页

下划线可以Ctrl + U

i couldn't use HTML...
简单的文字居中也可以这样
life is short, i need phh.

3. 内联$ \LaTeX 公式["公式[用""包围]

(部分编译器会不识别部分符号)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$\LaTeX$

$a^n + b^n = c^n$

$$
%\usepackage{unicode-math}
\displaystyle \ointctrclockwise\mathcal{D}[x(t)]
\sqrt{\frac{\displaystyle3\uppi^2-\sum_{q=0}^{\infty}(z+\hat L)^{q}
\exp(\symrm{i}q^2 \hbar x)}{\displaystyle (\symsfup{Tr}\symbfcal{A})
\left(\symbf\Lambda_{j_1j_2}^{i_1i_2}\Gamma_{i_1i_2}^{j_1j_2}
\hookrightarrow\vec D\cdot \symbf P \right)}}
=\underbrace{\widetilde{\left\langle \frac{\notin \emptyset}
{\varpi\alpha_{k\uparrow}}\middle\vert
\frac{\partial_\mu T_{\mu\nu}}{2}\right\rangle}}_{\mathrm{K}_3
\mathrm{Fe}(\mathrm{CN})_6} ,\forall z \in \mathbb{R}
$$

1.

LaTeX\LaTeX

2.

an+bn=cna^n + b^n = c^n

3.

%\usepackage{unicode-math} \displaystyle \ointctrclockwise\mathcal{D}[x(t)] \sqrt{\frac{\displaystyle3\uppi^2-\sum_{q=0}^{\infty}(z+\hat L)^{q} \exp(\symrm{i}q^2 \hbar x)}{\displaystyle (\symsfup{Tr}\symbfcal{A}) \left(\symbf\Lambda_{j_1j_2}^{i_1i_2}\Gamma_{i_1i_2}^{j_1j_2} \hookrightarrow\vec D\cdot \symbf P \right)}} =\underbrace{\widetilde{\left\langle \frac{\notin \emptyset} {\varpi\alpha_{k\uparrow}}\middle\vert \frac{\partial_\mu T_{\mu\nu}}{2}\right\rangle}}_{\mathrm{K}_3 \mathrm{Fe}(\mathrm{CN})_6} ,\forall z \in \mathbb{R}

4.网络图床

5.常用快捷键

按键 效果 按键 效果
Ctrl + D 选中当前词 Ctrl + L 选中当前句/行
Ctrl + E 选中当前区块 Ctrl + F 搜索当前选中
Ctrl + B 加粗当前选中 Ctrl + H 替换当前选中
Ctrl + I 倾斜当前选中 Ctrl + U 下划当前选中
Ctrl + K 将当前选中生成链接 Ctrl + J 滚动屏幕将选中滚动到顶
Ctrl + W 关闭当前窗口 Ctrl + N 打开新窗口
Ctrl + O 打开文件 Ctrl + P 搜索文件并打开
Ctrl + Enter 表格下方插入行 Ctrl + , 打开偏好设置
Ctrl + . 切换全角/半角标点 Ctrl + / 切换正常/源代码视图
Ctrl + shift +- 缩小视图 Ctrl + shift + + 增大视图