style: optimize github card for mobile, adjust spacing between consecutive images

This commit is contained in:
radishzzz 2025-05-02 19:08:33 +01:00
parent a4d56865e4
commit 6c8a682f83
3 changed files with 25 additions and 16 deletions

View file

@ -30,7 +30,7 @@ abbrlink: markdown-extended-features
## Github 仓库卡片
使用双冒号语法 `::github{repo="owner/repo"}`,即可创建 Github 仓库卡片。在页面加载后,从 GitHub API 中实时获取仓库数据。
使用双冒号语法 `::github{repo="owner/repo"}`,即可创建 Github 仓库卡片。在页面加载后,从 GitHub API 中获取仓库数据。
### 语法
@ -44,18 +44,18 @@ abbrlink: markdown-extended-features
## 提示块
使用三冒号语法 `:::type` GitHub 语法 `> [!TYPE]`,即可创建提示块。支持 `note``tip``important``warning``caution` 五种类型。
使用 GitHub 语法 `> [!TYPE]` 或三冒号语法 `:::type`,即可创建提示块。支持 `note``tip``important``warning``caution` 五种类型。
### 语法
```
> [!NOTE]
> Useful information that users should know, even when skimming content.
:::note
Useful information that users should know, even when skimming content.
:::
> [!NOTE]
> Useful information that users should know, even when skimming content.
:::note[YOUR CUSTOM TITLE]
This is a note with a custom title.
:::