286 字
1 分钟
Markdown 扩展功能
GitHub 仓库卡片
你可以添加链接到 GitHub 仓库的动态卡片,页面加载时会从 GitHub API 拉取仓库信息。
Waiting for api.github.com...
使用代码 ::github{repo="<owner>/<repo>"} 创建 GitHub 仓库卡片。
::github{repo="saicaca/fuwari"}提示框
支持以下类型的提示框: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://www.110868.xyz/posts/markdown-extended/
晋公网安备14010502990326号