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

記事をシェア

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

続きを読む

関連記事

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

別のルートへ

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