Markdown语法

常用格式

1.标题
#大标题
##子标题
2.区块引用
> 大于号表示引用
3.表格

4.强调
**加粗**
*斜体*
~~划掉~~
++下划线++
==高亮==
5.图片链接
![图片名称](图片链接)
-[链接名称](链接地址)
6.列表
- 列表
- 列表  
7.换行
末尾两个空格直接回车
8.换段落
两个回车,中间有空行
9.数学公式
$
```text
$$\left( \sum_{k=1}^n a_k b_k \right)^2 \leq \left( \sum_{k=1}^n a_k^2 \right) \left( \sum_{k=1}^n b_k^2 \right)$$

callout警告区块

image.png

> [!NOTE]
> Information the user should notice even if skimming.

> [!TIP]
> Optional information to help a user be more successful.

> [!IMPORTANT]
> Essential information required for user success.

> [!CAUTION]
> Negative potential consequences of an action.

> [!WARNING]
> Dangerous certain consequences of an action.
Success

Optional information to help a user be more successful.

Note

Information the user should notice even if skimming.

Info

Information the user should notice even if skimming.

Tip

Optional information to help a user be more successful.

Important

Essential information required for user success.

Caution

Negative potential consequences of an action.

Warning

Dangerous certain consequences of an action.

Error

Negative potential consequences of an action.

Danger

Information the user should notice even if skimming.

下拉三角

<details> 
<summary>显示标题</summary>
这里写详情

</details>
显示标题 这里写详情
<details> 
<summary>展开查看代码</summary>
<pre><code>
System.out.println("Hello to see U!"); 
</code></pre> 
</details>
展开查看代码

System.out.println("Hello to see U!");