Editor: Syntax Highlighting in Code Blocks

@death.au I might suggesting looking into how this markdown editor functions: GitHub - writewithocto/ink: A plain-text javascript markdown editor library that renders formatting live and in-place without the need for a preview pane. Built on CodeMirror 6. Powers https://octo.app.

It performs formatting of the markdown itself, which supports syntax highlighting in the editor.