Skip to main content
24 events
when toggle format what by license comment
Nov 21 at 1:36 history edited DharmanMod
edited tags
Sep 10 at 3:42 history edited MakyenMod
edited tags
Aug 9, 2023 at 17:27 comment added mklement0 Good to know, @Pxtl, thanks - and good to know about insights.stackoverflow.com/trends in general.
Aug 9, 2023 at 17:20 comment added Pxtl On the subject of load and priorities: Powershell-tagged questions are now more common than bash-tagged questions. insights.stackoverflow.com/…
Aug 9, 2023 at 17:11 history edited mklement0 CC BY-SA 4.0
added 1 character in body
Nov 14, 2022 at 3:33 history edited mklement0 CC BY-SA 4.0
added 159 characters in body
Oct 28, 2022 at 20:22 history edited mklement0 CC BY-SA 4.0
added 63 characters in body
Oct 26, 2022 at 20:11 history edited mklement0
edited tags
Oct 25, 2022 at 14:01 history edited mklement0 CC BY-SA 4.0
added 179 characters in body
Oct 24, 2022 at 21:16 history edited mklement0 CC BY-SA 4.0
added 16 characters in body
Oct 24, 2022 at 16:22 history edited mklement0 CC BY-SA 4.0
added 3535 characters in body
Oct 24, 2022 at 7:35 history edited mklement0 CC BY-SA 4.0
edited title
Oct 23, 2022 at 23:11 comment added mklement0 @PeterMortensen, syntax highlighting isn't about perfection, it's about whether it de facto helps the human observer visualize parse the code. It comes down to whether the highlighting is more helpful than not. Notably, it's very important to highlight comments as such, and something like lang-bash does that for PowerShell, while often - but definitely not always - doing the right(-enough) thing in general. To me, that's indubitably preferable to having no highlighting at all.
Oct 23, 2022 at 23:03 comment added Peter Mortensen There isn't any point in using syntax highlighting for any of these at the moment. For all practical purposes, syntax highlighting for the shell scripting languages is completely broken (e.g., what seems to be random highlight of variables names that happen to be some keyword in another context. Or weird highlighting of any kind of command line invocations (most scripts have them), with different options on the same level highlighted differently). With the current syntax highlighter, the syntax highlight for them ought to be turned off completely. And yes, this is configurable.
Oct 23, 2022 at 21:25 history edited mklement0 CC BY-SA 4.0
added 9 characters in body
Oct 23, 2022 at 21:17 history edited mklement0 CC BY-SA 4.0
deleted 1 character in body
Oct 23, 2022 at 21:00 history edited mklement0 CC BY-SA 4.0
added 257 characters in body
Oct 23, 2022 at 20:54 comment added Andrew T. Yeah, that's what I observed from this question with both 'java' and 'javascript' tags where no code blocks on the answers are highlighted with either 'java' or 'javascript'.
Oct 23, 2022 at 20:43 comment added mklement0 Thanks, @AndrewT., I've updated the post to clarify; please check that I got this right; I'm assuming you're saying that if at least two tags that have mapped highlighting languages are present, automatic detection kicks on for each block. Correct?
Oct 23, 2022 at 20:39 history edited mklement0 CC BY-SA 4.0
added 416 characters in body
Oct 23, 2022 at 20:14 comment added Andrew T. Re: XML + Powershell, I can understand adding highlighting to Powershell tags, with a caveat that Makyen has explained: if there are 2 or more tags with different language highlighting, then all will default to "default highlighting" instead, and each code block needs to be given highlighting hint.
Oct 23, 2022 at 19:44 history edited mklement0 CC BY-SA 4.0
added 449 characters in body
Oct 23, 2022 at 19:35 history edited mklement0 CC BY-SA 4.0
added 5 characters in body
Oct 23, 2022 at 19:23 history asked mklement0 CC BY-SA 4.0