Brightspace / render-docs-action

A GitHub Action to render docs for https://docs.d2l.dev
Apache License 2.0
1 stars 0 forks source link

No syntax highlighting in code blocks #77

Open mthjones opened 2 years ago

mthjones commented 2 years ago

Code blocks rendered by the action have no syntax highlighting. Having syntax highlighting would make them more user-friendly.

Markdig already generates the CSS classes on the code blocks for the given language (e.g. .language-cs). This should mean bringing in something like highlight.js would be able to work out-of-the box.