Timeline for Is it possible to temporarily comment out part of a post?
Current License: CC BY-SA 4.0
11 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 16, 2020 at 12:37 | history | edited | Martin Sleziak | CC BY-SA 4.0 |
added 205 characters in body
|
Dec 16, 2020 at 10:33 | comment | added | Emil Jeřábek | Yes, HTML comments sort-of work by accident: the parser removes them not because they are comments, but because it considers them invalid HTML tags, which also means they behave syntactically in a different way than proper HTML comments. See my answer below. | |
Dec 16, 2020 at 10:25 | history | edited | Martin Sleziak | CC BY-SA 4.0 |
added 546 characters in body
|
Dec 16, 2020 at 10:19 | history | edited | Martin Sleziak | CC BY-SA 4.0 |
added 546 characters in body
|
Dec 16, 2020 at 10:09 | comment | added | Martin Sleziak | I will add that I was trying to find some kind of official documentation about this when I was writing the answer. And I saw that HTML comments are not mentioned here: What HTML tags are allowed on Stack Exchange sites? However, since I saw them used on the site several times, I thought that it might be just an oversight that they are missing in that list. | |
Dec 16, 2020 at 10:07 | comment | added | Martin Sleziak | @EmilJeřábek Just to clarify what your comment (and animuson's answer you oinked) is saying - the gist of it that using HTML comments is not officially supported. (And the fact that they actually work - at least in the examples posted in the answeres here - should be considered a lucky accident, byt is not by any means guaranteed.) Is that more-or-less correct? | |
Dec 16, 2020 at 9:40 | comment | added | Emil Jeřábek | Yes, Stack Exchange allows some limited use of html, but comments are not part of the allowed use. See meta.stackexchange.com/a/120418. | |
Dec 15, 2020 at 14:06 | comment | added | მამუკა ჯიბლაძე | Thank you! @Glorfindel was one minute quicker, and also provided another option, so... | |
Dec 15, 2020 at 13:41 | history | edited | Martin Sleziak | CC BY-SA 4.0 |
Hiding back the poem - which is probably too silly for MO; let's leave it as a bonus for people who will actually check the source/revisions
|
Dec 15, 2020 at 13:34 | history | edited | Martin Sleziak | CC BY-SA 4.0 |
including the source for the hidden text - at least temporarily so that it is shown in the revision history
|
Dec 15, 2020 at 13:25 | history | answered | Martin Sleziak | CC BY-SA 4.0 |