293 字
1 分钟
Markdown 扩展功能
GitHub 仓库卡片
你可以添加指向 GitHub 仓库的动态卡片。在页面加载时,仓库信息会从 GitHub API 获取。
Waiting for api.github.com...
使用如下语法创建一个 GitHub 仓库卡片:::github{repo="<owner>/<repo>"}。
::github{repo="saicaca/fuwari"}警示框(Admonitions)
支持以下类型:note tip important warning caution
NOTE强调即便在快速浏览时也应注意的信息。
TIP可选信息,帮助用户更顺利地完成任务。
IMPORTANT至关重要的信息,是成功所必需的。
WARNING存在潜在风险,需要用户立即注意的关键信息。
CAUTION某操作可能带来的负面后果。
基本语法
:::noteHighlights information that users should take into account, even when skimming.:::
:::tipOptional information to help a user be more successful.:::自定义标题
警示框的标题可以自定义。
我的自定义标题这是一个带有自定义标题的提示。
:::note[MY CUSTOM TITLE]This is a note with a custom title.:::GitHub 语法
TIP也支持 GitHub 的提示语法。
> [!NOTE]> The GitHub syntax is also supported.
> [!TIP]> The GitHub syntax is also supported.折叠(剧透)
你可以在文本中添加“折叠/剧透”内容。其内部同样支持 Markdown 语法。
内容
The content :spoiler[is hidden **ayyy**]! Markdown 扩展功能
https://fuwari.vercel.app/posts/markdown-extended/