162 字
1 分鐘
Markdown Admonitions

Admonitions keep supporting information visually distinct while preserving the article’s reading flow. Every form is rendered on the server and uses the same compact M3E component.

Semantic variants#

Optional details#

Inspect the complete command

The disclosure uses native browser semantics and remains keyboard accessible without client JavaScript.

Terminal window
npx.cmd astro check
pnpm.cmd build
  • It starts closed.
  • Long code can scroll inside its own code block.
  • The container remains within the article width on narrow screens.

Author syntax#

:::note[Existing title syntax]
Content
:::
::: warning Plume-compatible title syntax
Content
:::
> [!TIP]
> GitHub Alert syntax
::: details Optional content
Hidden until the reader opens it.
:::
Markdown Admonitions
https://blog.kagurayami.top/zh-tw/posts/admonitions/
作者
Shirone
發佈於
2026-08-27
許可協議
CC BY-NC-SA 4.0

分享文章

生成精美分享圖或複製連結,與更多人分享本文。

繼續閱讀

沿著主題讀

基於共同的標籤與分類

換條路線

從其他文章中穩定抽取