Timeline for Should we edit stack snippets to regular code blocks for unsupported languages?
Current License: CC BY-SA 4.0
11 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 4, 2020 at 0:56 | comment | added | Cody Gray Mod | High-reputation users aren't immune from making mistakes, @Scratte, and certainly not from misunderstanding how the site's features work. If you see a pattern of someone with full edit privileges making harmful or superfluous edits, collect a list and raise a moderator flag. There is absolutely no reason to create a Stack Snippet for a code sample in a language not supported by Stack Snippets. They're only for HTML/CSS/JS. | |
Jun 3, 2020 at 10:39 | comment | added | Makyen Mod | There is a use for having non-JS/HTML/CSS in a snippet. Snippets allow you to have the code in the snippet shown hidden by default. The OP may have wanted to use the capability to have large blocks of code as click-to-view in order to make the post flow a bit easier, but give readers the opportunity to see more extensive examples, if the reader chooses. Other than that potential use, I agree that it doesn't make much sense to have non-JS/HTML/CSS languages in a snippet. I'd note that it's much more likely the OP using a snippet is a mistake/misunderstanding, rather than intentional. | |
Jun 3, 2020 at 9:44 | comment | added | Scratte | @CodyGray The ones I have noticed come from a high-reputation user. | |
Jun 3, 2020 at 9:43 | comment | added | Cody Gray Mod | @Scratte We do. There is a long-standing policy to reject harmful or superfluous edits. | |
Jun 3, 2020 at 7:15 | comment | added | user128511 | IMO we should push S.O. to support more languages. Either on their own or by partnering with some service that already does this. Example | |
Jun 3, 2020 at 7:10 | history | edited | Brian Tompsett - 汤莱恩 | CC BY-SA 4.0 |
fixed minor typo in title
|
Jun 3, 2020 at 6:46 | comment | added | Scratte | I've noticed some users actively edit non-runnable code into stack snippets. It would be awesome to have a policy for this. | |
Jun 3, 2020 at 6:34 | comment | added | VLAZ | What is the value of having a runnable snippet that cannot run? Nothing. Remove them. I also tend to remove JS runnable snippets into non-runnable blocks if all they just throw an error and it's not OP's reported problem (incomplete snippet). | |
Jun 3, 2020 at 4:58 | vote | accept | Michael Delgado | ||
Jun 3, 2020 at 4:15 | answer | added | BSMP | timeline score: 8 | |
Jun 3, 2020 at 3:56 | history | asked | Michael Delgado | CC BY-SA 4.0 |