
static.codemirror.mode.javascript.index.html Maven / Gradle / Ivy
CodeMirror: JavaScript mode
CodeMirror: JavaScript mode
JavaScript mode supports a two configuration
options:
json
which will set the mode to expect JSON data rather than a JavaScript program.
-
typescript
which will activate additional syntax highlighting and some other things for TypeScript code (demo).
MIME types defined: text/javascript
, application/json
, text/typescript
, application/typescript
.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy