266 字
1 分钟
Markdown 扩展功能
2024-05-01
2024-11-29

GitHub仓库卡#

你可以添加动态卡片链接到 GitHub 仓库,页面加载时,仓库信息会从 GitHub API 中提取。

mxc5359
/
hjm
Waiting for api.github.com...
00K
0K
0K
Waiting...

创建一个包含代码的GitHub仓库卡 ::github{repo="<用户名>/<仓库名>"}

::github{repo="saicaca/fuwari"}

告诫#

支持以下类型的劝告: note tip important warning caution

注释

突出用户即使在浏览时也应考虑的信息。

提示

辅助用户提升成功的可选信息。

重要

用户成功的关键信息。

警告

关键内容因潜在风险而要求用户立即关注。

注意

行为可能带来的负面后果。

基本语法#

:::note
Highlights information that users should take into account, even when skimming.
:::

:::tip
Optional information to help a user be more successful.
:::

自定义标题#

警告的标题可以自定义。

我的自定义标题

这是一个带有自定义标题的便条。

:::note[我的自定义标题]
这是一个带有自定义标题的便条。
:::

GitHub 语法#

TIP

GitHub 语法也支持 is also supported.

> [!NOTE]
> The GitHub syntax is also supported.

> [!TIP]
> The GitHub syntax is also supported.
Markdown 扩展功能
https://fuwari.vercel.app/posts/markdown-extended/
作者
yunmeng
发布于
2024-05-01
许可协议
CC BY-NC-SA 4.0