There are lots of questions in the Puzzling Meta about coded comments, suggesting that there's a demand for spoiler blocks within comments. The spoiler block is already a Stack Exchange addition to Markdown. Is it possible to get a similar addition to allow inline spoilers/spoilers in comments? One possible implementation would be an HTML tag <spoiler>like so</spoiler>.
$\begingroup$
$\endgroup$
2
-
$\begingroup$ meta.stackexchange.com/questions/371270/… $\endgroup$– TheSimpliFireCommented Jun 23, 2022 at 11:23
-
4$\begingroup$ Does this answer your question? Do we want extended spoiler functionality? $\endgroup$– bobbleCommented Jun 23, 2022 at 13:31
Add a comment
|
1 Answer
$\begingroup$
$\endgroup$
3
- This is really a question for the main meta site.
- One obvious problem as presented is that HTML tags don't work in comments.
- If enough people agree on a standard though, it could be done unofficially using a browser extension.
(E.g.
marker encoded-text marker
, where the extension would decode the text when it's clicked, such as using hex character values:SPOILER-X(4578616d706c65)
→Example
, orSPOILER-13(rot13text)
.
-
1
-
$\begingroup$ @LukasRotter, does it work in comments? $\endgroup$ Commented Jun 23, 2022 at 16:27
-
$\begingroup$ It only works in comments AFAIK, since it would be useless in post bodies anyway. $\endgroup$ Commented Jun 23, 2022 at 16:27