GitHub Repository Cards
GitHub 仓库卡片
You can add dynamic cards that link to GitHub repositories, on page load, the repository information is pulled from the GitHub API. 您可以添加链接到 GitHub 仓库的动态卡片,页面加载时,仓库信息将从 GitHub API 获取。
Create a GitHub repository card with the code ::github{repo="<owner>/<repo>"}
. 使用代码 ::github{repo="<所有者>/<仓库名>"}
创建 GitHub 仓库卡片。
::github{repo="saicaca/fuwari"}
Admonitions
提示框
Following types of admonitions are supported: note
tip
important
warning
caution
支持以下类型的提示框:note
(说明)tip
(技巧)important
(重要)warning
(警告)caution
(注意)
NOTEHighlights information that users should take into account, even when skimming.
NOTE突出显示用户应重视的信息,即使是在略读时。
TIPOptional information to help a user be more successful.
TIP帮助用户更成功的可选信息。
IMPORTANTCrucial information necessary for users to succeed.
IMPORTANT用户成功所需的关键信息。
WARNINGCritical content demanding immediate user attention due to potential risks.
WARNING因潜在风险需要用户立即关注的关键内容。
CAUTIONNegative potential consequences of an action.
CAUTION行动可能带来的负面后果。
Basic Syntax
基本语法
:::noteHighlights information that users should take into account, even when skimming.:::
:::tipOptional information to help a user be more successful.:::
Custom Titles
自定义标题
The title of the admonition can be customized. 提示框的标题可以自定义。
MY CUSTOM TITLEThis is a note with a custom title.
我的自定义标题这是一个带有自定义标题的说明框。
:::note[MY CUSTOM TITLE]This is a note with a custom title.:::
GitHub Syntax
GitHub 语法
TIPThe GitHub syntax is also supported. [!TIP] 也支持 GitHub 语法。
> [!NOTE]> The GitHub syntax is also supported.
> [!TIP]> The GitHub syntax is also supported.