Looking at CodeMirror: Language Modes there are a lot of them, but looking for example for CMake
syntax highlighter, I only find a mode
for CodeMirror5 for it, not an npm package like @codemirror/cmake-language
. How/where do I find all the cmakeLanguage
and cmake()
sort of package exports for all those languages on that mode page?
Other ones I can’t find for codemirror 6: coffeescript, Dockerfile, etc.
If I am supposed to use the CodeMirror 5 mode
ones, how do I do that exactly?