Evaluate usage of CodeMirror-markdown codeLanguages function option
ErikMichelson opened this issue · comments
Erik Michelson commented
Which part of the project should be enhanced?
Markdown Editor
Is your enhancement request related to a problem? Please describe.
Currently, the syntax highlighting in the editor side does not work when adding a =
to the language name, however one might do this to see line numbers.
Describe your solution
Evaluate whether this could be improved by giving a function transforming the provided info into a language string. This should be supported since CodeMirror-markdown v 0.20.1.
The codeLanguages option to markdown may now be a function from an info string to a language.