619 字
3 分钟
markdown语法备忘
一级标题
# 一级标题<!--后面有空格-->二级标题
## 二级标题三级标题
### 三级标题字型
斜体, 黑体, 高亮
_斜体_, **黑体**, `高亮`黑体的快捷键Crtl+B列表
- this one
- that one
- the other one
- this one- that one- the other one块引号
Block quotes are written like so.
They can span multiple paragraphs, if you like.
> Block quotes are> written like so.>> They can span multiple paragraphs,> if you like.数字列表
- first item
- 1.1
- 1.2
- 1.3
- second item
代码块
- third item
1. first item - 1.1 - 1.2 - 1.32. second item ``` 代码块 ```3. third item<!--四个空格控制缩进来控制层级-->代码块
使用两行``` 一般来说bash中<必选参数>,[可选参数]
print("hello world")#这是注释转义字符
用反斜杠\,比如`
链接
链接[fuwari](https://github.com/saicaca/fuwari)、章节[跳转到二级标题](#二级标题an-h2-header)、角标[^1][^1]: 角标内容.水平分割线
123
456
---
123
---
456
---<!--内容和---之间有空格-->定义列表
apples : Good for making applesauce. oranges : Citrus! tomatoes : There’s no “e” in tomatoe.
apples: Good for making applesauce.oranges: Citrus!tomatoes: There's no "e" in tomatoe.行内块
| Line one | Line too | Line tree
| Line one| Line too| Line tree插入图片
可以使用markdown,或者html来插入图片,html的方式可以控制大小位置等元数据。

<img src="https://vip.123pan.cn/1826899604/yk6baz03t0m000d7w33girwfizdpc39iDIYvAqY2BIQOAcx1AdFy.jpg">数学公式
行内公式
$\omega = d\phi / dt$<!--$-->独占一行
$$I = \int \rho R^{2} dV$$<!--$$-->插入视频
YouTube
Bilibili
文章的元数据
---title: My First Blog Postpublished: 2023-09-09description: This is the first post of my new Astro blog.image: ./cover.jpgtags: [Foo, Bar]category: Front-enddraft: false---| 属性 | 描述 |
|---|---|
title | 帖子的标题。 |
published | 帖子发布的日期。 |
description | 帖子的简短描述。显示在索引页面上。 |
image | 帖子的封面图片路径。 |
tags | 帖子的标签。 |
category | 帖子的类别。 |
draft | 如果此帖子仍然是草稿,则不会显示。 |
markdown拓展
Waiting for api.github.com...
::github{repo="cannian/fuwari"}NOTE突出显示用户应考虑的信息。
:::note突出显示用户应考虑的信息。:::TIP提示。
:::tip提示。:::IMPORTANT重要。
:::important重要。:::WARNING警告。
:::warning警告。:::CAUTION注意。
:::caution注意。:::自定义标题这个标题是自定义的。
:::note[自定义标题]这个标题是自定义的。:::GitHub syntax
[!TIP]
The GitHub syntax is also supported.
> [!NOTE]> The GitHub syntax is also supported.
> [!TIP]> The GitHub syntax is also supported.隐藏
The content
The content :spoiler[is hidden **ayyy**]!Footnotes
-
角标内容. ↩