这是一级标题
这是二级标题
换行用空格+enter或者<br> 
强调
 hhh
hhh
[[hehehe]] 
My Great Heading
| 1
 | ### My Great Heading {#custom-id}
 | 
公式
| 1
2
3
 | $$
\lim_{x \to \infty} \frac{sin(t)}{x}=1
$$
 | 
\[\lim_{x \to \infty} \frac{sin(t)}{x}=1\]
在vscode中连续按两下ctrl+m会产生四个$,来编辑公式。如果要在一段文字中插入公式(行内),用快捷键ctr+m或输入:
| 1
 | $\lim_{x \to \infty} \frac{sin(t)}{x}=1$
 | 
$\lim_{x \to \infty} \frac{sin(t)}{x}=1$ 
表格
| 1
2
3
 | | 小明 | 大明 | 姚明  |
| :--- | ---: | :---: |
| 1.3  |  1.2 |  1.8  |
 | 
(按住 alt+shift+f 可以将文本中的表格部分格式化)
链接
这是一个链接
| 1
 | 这是一个[链接](https://zh.d2l.ai/)
 | 
代码块
| 1
2
3
4
5
6
 | def to_onehot(X, size):  # 本函数已保存在d2lzh包中方便以后使用
    return [nd.one_hot(x, size) for x in X.T]
X = nd.arange(10).reshape((2, 5))
inputs = to_onehot(X, vocab_size)
len(inputs), inputs[0].shape
 | 
| 1
2
3
4
5
6
7
8
 | ```python
def to_onehot(X, size):  # 本函数已保存在d2lzh包中方便以后使用
    return [nd.one_hot(x, size) for x in X.T]
X = nd.arange(10).reshape((2, 5))
inputs = to_onehot(X, vocab_size)
len(inputs), inputs[0].shape
```
 | 
对号
\(\checkmark \huge \color{red}{\checkmark}\)
| 1
2
3
4
 | $$
\checkmark
\huge \color{red}{\checkmark}
$$
 | 
vscode常用快捷键
vscode禅模式快捷键:ctrl+k 松开再按z
按两下esc即可退出禅模式
Keybindings The cmd key for Windows is ctrl.
| Shortcuts | Functionality | 
|---|
| ctrl-k v | Open preview to the Side | 
| ctrl-shift-v | Open preview | 
| ctrl-shift-s | Sync preview / Sync source | 
| shift-enter | Run Code Chunk | 
| ctrl-shift-enter | Run all Code Chunks | 
| cmd-= or cmd-shift-= | Preview zoom in | 
| cmd– or cmd-shift-_ | Preview zoom out | 
| cmd-0 | Preview reset zoom | 
| esc | Toggle sidebar TOC | 
Blockquote
blockquote
Ordered List
- First item
- Second item
- Third item
| 1
2
3
 | 1. First item
2. Second item
3. Third item
 | 
Unordered List
- First item
- Second item
- Third item
| 1
2
3
 | - First item
- Second item
- Third item
 | 
Task List
| 1
2
 | - [x] task1
- [ ] task2
 | 
Definition List
- term
- definition
Strikethrough
The world is flat.
Image
![]() 
 ![]()
| 1
2
 | 

 | 
Here’s a sentence with a footnote. 
| 1
2
3
 | Here's a sentence with a footnote. [^1]
[^1]: This is the footnote.
 |