Welcome to Software Development on Codidact!
Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.
Post History
Markdown itself doesn't do syntax highlighting, so you'll need to check which highlighter is used by the Markdown renderer you're using. E.g. Stack Exchange uses highlight.js.[1] That said, hopefu...
#1: Initial revision
Markdown itself doesn't do syntax highlighting, so you'll need to check which highlighter is used by the Markdown renderer you're using. E.g. Stack Exchange uses [highlight.js](https://highlightjs.org/).[^1]
That said, hopefully the most common highlighters have similar behaviour so that [hkotsubo's answer](https://software.codidact.com/posts/293072/293073#answer-293073) still applies.
[^1]: See [announcement](https://meta.stackexchange.com/questions/353983/goodbye-prettify-hello-highlight-js-swapping-out-our-syntax-highlighter).
BTW, SE doesn't support all languages; e.g. [Julia wasn't supported for years](https://meta.stackexchange.com/questions/355928/julia-syntax-highlighting).
