162 từ
1 phút đọc
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/vi/posts/admonitions/
Tác giả
Shirone
Đăng vào lúc
2026-08-27
Giấy phép bản quyền
CC BY-NC-SA 4.0

Chia sẻ bài viết

Tạo ảnh chia sẻ hoặc sao chép liên kết bài viết.

Đọc tiếp

Bài viết liên quan

Dựa trên thẻ và danh mục chung

Đổi hướng khám phá

Một lựa chọn ổn định từ các bài viết khác