Start a new topic

Syntax highlighting for code

GFM generally supports syntax highlighting where you can write something like "cpp" or "python" after three backticks in Markdown, which will highlight the code block using the relevant syntax.


On Cohost it looks like that is not implemented, and all code blocks are not highlighted in any way, which makes the code harder to read / less beautiful. Would be great to see equivalent support for this!


See https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/creating-and-highlighting-code-blocks#syntax-highlighting


4 people like this idea
Login or Signup to post a comment