Welcome to Codidact Meta!
Codidact Meta is the "town hall" (meta-discussion site) for the Codidact community network and the Codidact software. Whether you have bug reports or feature requests, support questions or rule discussions that touch the whole network – this is the site for you.
Markdown spoiler sections - is there any need?
Standard markdown does not include spoiler sections (hidden until clicked on). Personally, on those rare occasions when I find need to temporarily hide something, I'm happy using <details> HTML tags instead, which gives a sufficiently similar effect:
<details>
<summary>Spoiler! Click here to reveal</summary>
Secret details
</details>
is rendered as:
Spoiler! Click here to reveal
Secret detailsHowever, I'm aware that not all Codidact communities are related to code, and not everyone is familiar with HTML. Is there any demand for a way to do this in markdown without needing to use tags?
Currently, Codidact uses CommonMark markdown, which does not support spoilers.
Instead of modifying CommonMark, maybe we can make `` more visible to people who don't know about it or think of it. Ed …
1d ago
Someone proposed a Puzzle site so yeah I can see a need for it in case that proposal ever goes live.
2d ago
Using HTML is easy enough. There is no need for a redundant Markdown, as long as how to do spoilers is documented where …
1d ago
3 answers
Someone proposed a Puzzle site so yeah I can see a need for it in case that proposal ever goes live.
0 comment threads
Instead of modifying CommonMark, maybe we can make <details> more visible to people who don't know about it or think of it. Editor button? Some sort of hint or dismissible help in the editor about this in particular? Link to the formatting help (which covers this) without a more specific mention?
0 comment threads
Using HTML is easy enough. There is no need for a redundant Markdown, as long as how to do spoilers is documented where it can be easily found.
In general, it would be nice if there was a way to opt out of markdown for your whole account. Too often I find Markdown being unintentionally triggered by normal syntax.

1 comment thread