issues
search
moonslide-app
/
moonslide
Editor to create presentations with Markdown and Reveal.js
MIT License
7
stars
1
forks
source link
Enhance Syntax Highlighting
#123
Open
simonschuhmacher
opened
1 year ago
simonschuhmacher
commented
1 year ago
Currently, it's not possible to define custom tokens in the CodeMirror editor
It would be nice to add special tokens for (at least) the following objects
Front Matter block (change color for the whole block to gray)
Attrs set via
{ ... }
syntax (change color that part to gray)
Maybe we can create our own grammar based on the Markdown grammar and extend it to support the YAML blocks + custom Markdown extensions we're using
{ ... }
syntax (change color that part to gray)