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.
Comments on Should details tags work in comments?
Parent
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:
<details>
<summary>
Click to see the answer
</summary>
The answer is "Ask why 5 times"
</details>
is rendered as:
Click to see the answer
The answer is "Ask why 5 times"Currently comments support some HTML, such as bold, italics and supercript. Would it be useful for comments to also support hidden information with the <details>
tag?
Even if it didn't actively encourage misuse of the site, time spent on a feature like this would be far better used else …
6mo ago
Comments aren't for content. They are for working with the author to make a better post. Put another way, they are sup …
6mo ago
I can imagine the following uses for hidden `` sections in comment threads. Some of these uses will apply to some types …
6mo ago
I started to write a whole thing about how "this might make sense if each community could turn it on or off," and explai …
6mo ago
Post
Even if it didn't actively encourage misuse of the site, time spent on a feature like this would be far better used elsewhere.
<details>
tags are already sufficient to implement a "spoiler" within an answer. If for some reason it were necessary to mark comment content as a spoiler - for example, discussing a candidate puzzle solution - keep in mind that comment threads are already hidden by default: they're collapsed behind the thread title. The appropriate course of action is to use a separate comment thread and title it in a way that gives suitable warning. Content that needs to be marked this way shouldn't be dropped into an existing comment thread anyway.
Regarding debugging: comments have a much shorter character limit anyway. A long log simply isn't going to fit into 1000 characters, so it couldn't be posted in a comment. Comments that fit the line limit aren't going to need collapsing for space unless they're abusing line breaks (which is probably flaggable anyway).
1 comment thread