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.
Post History
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> HT...
#2: Post edited
- 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:
- <details><summary>Spoiler! Click here to reveal</summary>
- Secret details
- </details>
However, 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?
- 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:
- <details><summary>Spoiler! Click here to reveal</summary>
- Secret details
- </details>
- However, 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](https://commonmark.org/) markdown, which does not support spoilers.*
#1: Initial revision
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:
<details><summary>Spoiler! Click here to reveal</summary>
Secret details
</details>
However, 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?
