Welcome to Codidact Meta!
Codidact Meta is the 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
In a post a <details> tag can be used to hide information until a user chooses to click on it, useful for spoilers or puzzle solutions. For example, the following raw text: <details> ...
#2: Post edited
- In a post a `<details>` tag can be used to hide information until a user chooses to click on it, useful for spoilers or puzzle solutions.
- For example, the following raw text:
- ```text
- <details>
- <summary>
- Click to see the answer
- </summary>
- The answer is "Ask why 5 times"
<details>- ```
- is rendered as:
- <details>
- <summary>
- Click to see the answer
- </summary>
- The answer is "Ask why 5 times"
- </details>
- Currently comments support some HTML, such as <b>bold</b>, <i>italics</i> and <sup>supercript</sup>. Would it be useful for comments to also support hidden information with the `<details>` tag?
- In a post a `<details>` tag can be used to hide information until a user chooses to click on it, useful for spoilers or puzzle solutions.
- For example, the following raw text:
- ```text
- <details>
- <summary>
- Click to see the answer
- </summary>
- The answer is "Ask why 5 times"
- </details>
- ```
- is rendered as:
- <details>
- <summary>
- Click to see the answer
- </summary>
- The answer is "Ask why 5 times"
- </details>
- Currently comments support some HTML, such as <b>bold</b>, <i>italics</i> and <sup>supercript</sup>. Would it be useful for comments to also support hidden information with the `<details>` tag?
#1: Initial revision
Should details tags work in comments?
In a post a `<details>` tag can be used to hide information until a user chooses to click on it, useful for spoilers or puzzle solutions. For example, the following raw text: ```text <details> <summary> Click to see the answer </summary> The answer is "Ask why 5 times" <details> ``` is rendered as: <details> <summary> Click to see the answer </summary> The answer is "Ask why 5 times" </details> Currently comments support some HTML, such as <b>bold</b>, <i>italics</i> and <sup>supercript</sup>. Would it be useful for comments to also support hidden information with the `<details>` tag?