Syntax highlighting for both Powershell and Batch works if specified manually in an HTML comment, but not via a code block:<br> - **Doesn't Work:** _(code block)_ - ``` ```bat ``` - ``` ```powershell ``` <br> - **Works:** _(HTML comment)_ - `<!-- language-all: lang-bat -->` <br> `<!-- language: lang-bat -->` - `<!-- language-all: lang-powershell -->` <br> `<!-- language: lang-powershell --> ` <br><br> Why is there this disparity? - I'm not familiar with how StackExchange sites individually function, but wouldn't it be a lot simpler and efficient, causing less discombobulation, if shell languages were supported the same across all sites supporting code block markdown? <br><br>For example, syntax highlighting for both Powershell and Batch are auto-applied on StackOverflow. [1]: https://meta.superuser.com/q/13099/529800