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/ja/posts/admonitions/
作者
Shirone
公開日
2026-08-27
ライセンス
CC BY-NC-SA 4.0

記事をシェア

シェアカードを生成するかリンクをコピーして、みんなと共有しましょう。

続きを読む

関連記事

共通するタグとカテゴリから

別のルートへ

ほかの記事から一貫した基準で選出