266 字
1 分钟
Markdown 扩展功能
GitHub仓库卡
你可以添加动态卡片链接到 GitHub 仓库,页面加载时,仓库信息会从 GitHub API 中提取。
Waiting for api.github.com...
创建一个包含代码的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 语法
TIPGitHub 语法也支持 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/
鲁公网安备号