374 字
2 min
Markdown Extended Features
1002-05-01
1002-11-29

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 获取。

Fabrizz
/
MMM-OnSpotify
Waiting for api.github.com...
00K
0K
0K
Waiting...

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(注意)

NOTE

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

NOTE

突出显示用户应重视的信息,即使是在略读时。

TIP

Optional information to help a user be more successful.

TIP

帮助用户更成功的可选信息。

IMPORTANT

Crucial information necessary for users to succeed.

IMPORTANT

用户成功所需的关键信息。

WARNING

Critical content demanding immediate user attention due to potential risks.

WARNING

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

CAUTION

Negative potential consequences of an action.

CAUTION

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

Basic Syntax#

基本语法#

:::note
Highlights information that users should take into account, even when skimming.
:::
:::tip
Optional information to help a user be more successful.
:::

Custom Titles#

自定义标题#

The title of the admonition can be customized. 提示框的标题可以自定义。

MY CUSTOM TITLE

This is a note with a custom title.

我的自定义标题

这是一个带有自定义标题的说明框。

:::note[MY CUSTOM TITLE]
This is a note with a custom title.
:::

GitHub Syntax#

GitHub 语法#

TIP

The GitHub syntax is also supported. [!TIP] 也支持 GitHub 语法

> [!NOTE]
> The GitHub syntax is also supported.
> [!TIP]
> The GitHub syntax is also supported.
Markdown Extended Features
https://fuwari.oh1.top/posts/default/markdown-extended/
作者
yCENzh
发布于
1002-05-01