78 từ
1 phút đọc
Markdown Spoilers

Spoilers conceal a short answer or plot detail without removing it from the document. Hover, focus, or activate the native control to reveal the content.

Inline details#

The answer is , and this sentence remains ordinary Markdown around it.

Spoilers can include inline code and .

Author syntax#

The answer is :spoiler[42].

The generated HTML uses a native button with an aria-expanded state. Without JavaScript, hover and focus still reveal the text; the optional runtime adds click and keyboard toggling.

Markdown Spoilers
https://blog.kagurayami.top/vi/posts/spoilers/
Tác giả
Shirone
Đăng vào lúc
2026-08-28
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