We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8b1a67 commit b36648aCopy full SHA for b36648a
public/js/lib/editor/index.js
@@ -139,9 +139,14 @@ export default class Editor {
139
return null
140
}
141
142
+
143
CodeMirror.defineMode('vega', function (config, modeConfig) {
144
return CodeMirror.overlayMode(CodeMirror.getMode(config, 'application/ld+json'), ignoreOverlay)
145
})
146
147
+ CodeMirror.defineMode('markmap', function (config, modeConfig) {
148
+ return CodeMirror.overlayMode(CodeMirror.getMode(config, 'gfm'), ignoreOverlay)
149
+ })
150
151
152
on (event, cb) {
0 commit comments