This is a set of CodeMirror modes for C, C++, Java, Kotlin, Go, JavaScript, TypeScript, Python, HTML, and Angular Templates, providing a consistent highlighting style across these languages and an indentation style compatible with Google's style guides.
The repository contains the sources needed to create the modes. To
actually build them, run npm install
. That will create files for the
different modes under dist/
.
These modes are defined using the codemirror-grammar-mode tool, and have that tool's runtime as a client-side dependency.