78 คำ
1 นาที
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/th/posts/spoilers/
ผู้เขียน
Shirone
เผยแพร่เมื่อ
2026-08-28
สัญญาอนุญาต
CC BY-NC-SA 4.0

แชร์บทความ

สร้างรูปภาพแชร์หรือคัดลอกลิงก์เพื่อส่งต่อบทความนี้

อ่านต่อ

บทความที่เกี่ยวข้อง

อิงจากแท็กและหมวดหมู่ร่วมกัน

ลองเส้นทางอื่น

คัดเลือกจากบทความอื่นด้วยเกณฑ์ที่คงที่