@@ -65,9 +65,9 @@ export default class MetaBindPlugin extends Plugin {
6565 }
6666 } ) ;
6767
68- this . registerMarkdownCodeBlockProcessor ( 'meta-bind-js' , ( source , el , ctx ) => {
69- ctx . addChild ( new ScriptMarkdownRenderChild ( el , source , ctx , this ) ) ;
70- } ) ;
68+ // this.registerMarkdownCodeBlockProcessor('meta-bind-js', (source, el, ctx) => {
69+ // ctx.addChild(new ScriptMarkdownRenderChild(el, source, ctx, this));
70+ // });
7171
7272 // this.registerEditorExtension(cmPlugin);
7373 // const languageCompartment = new Compartment();
@@ -81,19 +81,19 @@ export default class MetaBindPlugin extends Plugin {
8181 // },
8282 // });
8383
84- if ( this . settings . devMode ) {
85- this . addCommand ( {
86- id : 'meta-bind-debug' ,
87- name : 'Trip Debugger' ,
88- callback : ( ) => {
89- debugger ;
90- } ,
91- } ) ;
92- }
93-
94- this . app . workspace . onLayoutReady ( async ( ) => {
95- await this . registerCodeMirrorMode ( ) ;
96- } ) ;
84+ // if (this.settings.devMode) {
85+ // this.addCommand({
86+ // id: 'meta-bind-debug',
87+ // name: 'Trip Debugger',
88+ // callback: () => {
89+ // debugger;
90+ // },
91+ // });
92+ // }
93+ //
94+ // this.app.workspace.onLayoutReady(async () => {
95+ // await this.registerCodeMirrorMode();
96+ // });
9797
9898 this . addSettingTab ( new MetaBindSettingTab ( this . app , this ) ) ;
9999 }
0 commit comments