Explorar el Código

Register the ipythongfm mode

Steven Silvester hace 8 años
padre
commit
aeb4fc7f1a
Se han modificado 1 ficheros con 6 adiciones y 0 borrados
  1. 6 0
      src/codemirror/codemirror-ipythongfm.ts

+ 6 - 0
src/codemirror/codemirror-ipythongfm.ts

@@ -50,3 +50,9 @@ CodeMirror.defineMode('ipythongfm', (config: CodeMirror.EditorConfiguration, mod
 }, 'gfm');
 
 CodeMirror.defineMIME('text/x-ipythongfm', 'ipythongfm');
+CodeMirror.modeInfo.push({
+  ext: [],
+  mime: 'text/x-ipythongfm',
+  mode: 'ipythongfm',
+  name: 'ipythongfm'
+});