Timeline for Enable a "lang-powershell" option for Prettify on Stack Overflow [duplicate]
Current License: CC BY-SA 3.0
23 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 23, 2022 at 12:52 | comment | added | mklement0 | For an updated feature request that accounts for the change from prettify.js to highlight.js, please see meta.stackoverflow.com/q/421016/45375 | |
Sep 28, 2022 at 14:38 | comment | added | Chase Florell | @BananaAcid this question was from 2013, a lot has changed. | |
Sep 25, 2022 at 23:10 | comment | added | BananaAcid |
For powershell, I would just use: 3 backticks as usual like ```lang-powershell \n\n ``` ... as the tag powershell does not work, but lang-* reference uses the language directly
|
|
Jan 19, 2018 at 19:56 | comment | added | Martijn Pieters | See the duplicate, specifically the How do I report a bug or request a new language? section. | |
Jan 19, 2018 at 19:55 | history | closed | Martijn Pieters | Duplicate of What is syntax highlighting and how does it work? | |
Jan 19, 2018 at 19:51 | history | migrated | from meta.stackexchange.com (revisions) | ||
Jan 18, 2018 at 23:16 | answer | added | Chiramisu | timeline score: 3 | |
Jan 18, 2018 at 23:04 | comment | added | Chiramisu |
How is this not implemented yet in 2018? PS has been around for almost 12 YEARS! It's pre-posh-terous (lol) that this hasn't been prettified yet! >.< ... and while posh is a fine shorthand, I think psh is in better keeping with existing shorthands like csh and bsh . PLEASE IMPLEMENT THIS!!! ;)
|
|
Dec 21, 2014 at 21:20 | comment | added | user6854914 | @poke I've voted to re-open - the issue tracker says "the only thing I know it has trouble with is delimited comments, which follow the pattern <# comment #>" which sounds a lot better than nothing. | |
Dec 21, 2013 at 1:45 | comment | added | poke | There is an open issue for Prettify that includes a language file for PowerShell. It’s incomplete but definitely better than no syntax highlighting at all (current situation). Can we reopen the question and get that language file added to the highlighter? | |
Jul 10, 2013 at 23:08 | comment | added | Chase Florell | You could be right, but I was under the impression that SE forked that long ago and are maintaining their own now. | |
Jul 10, 2013 at 22:02 | comment | added | Asad Saeeduddin | I believe they're using Google Code Prettify, which isn't native to SE. You could try forking the source and adding support, then asking them to pull it back in. | |
Jul 10, 2013 at 20:25 | comment | added | Mgetz |
I've done some format testing in the sandbox it would be plausible to use the csh highlighting until such a plugin was developed
|
|
Jul 10, 2013 at 19:31 | comment | added | Mgetz | trying to write this myself as per my question... lack of documentation on prettify itself is becoming a problem | |
Jul 10, 2013 at 19:16 | comment | added | Chase Florell |
never thought of posh , but you're probably right.
|
|
Jul 10, 2013 at 19:15 | comment | added | Aaron Bertrand Staff |
Not sure I like the cute shorthand like ps by itself - people may think it is PostScript, or PL/SQL, or PostgreSQL, who knows. posh would probably be less ambiguous and not really all that much more painful to write (especially since all the powershell-related tags should trigger that as the default formatting once it is implemented).
|
|
Jul 10, 2013 at 15:51 | comment | added | Mgetz | This should really be a feature request, it would dramatically improve readability on powershell questions | |
Feb 14, 2013 at 23:34 | comment | added | Chase Florell | @nhahtdh, you appear to be right. I wonder how hard the additional implementation would be. | |
Feb 14, 2013 at 23:33 | comment | added | Chase Florell | hmmm, @Linuxios, I'm not sure that will accomplish what I'm asking. This needs to be implemented on SO... | |
Feb 14, 2013 at 22:49 | comment | added | Linuxios | You can try putting it through another syntax highlighter like Pygments and copying the HTML. I make no guarantee that the sanitizer will like the HTML that comes out though. | |
Feb 14, 2013 at 20:59 | comment | added | nhahtdh | Doesn't seem that there is support for powershell. | |
Feb 14, 2013 at 19:51 | comment | added | Arjan | Last updated Aug 25 '11: list of supported languages. | |
Feb 14, 2013 at 19:47 | history | asked | Chase Florell | CC BY-SA 3.0 |