Disable markdown renders by default

Disabling to get more testing of stable markdown renderers before shipping
This commit is contained in:
Matt Bierner 2021-03-23 21:01:42 -07:00
parent 279b4d9231
commit ff42bf4651
2 changed files with 2 additions and 2 deletions

View file

@ -85,6 +85,6 @@
"editor.formatOnSave": true,
},
"typescript.tsc.autoDetect": "off",
"notebook.experimental.useMarkdownRenderer": true,
// "notebook.experimental.useMarkdownRenderer": true,
"testing.autoRun.mode": "onlyPreviouslyRun",
}

View file

@ -341,7 +341,7 @@ export class NotebookEditorWidget extends Disposable implements INotebookEditor
super();
this.isEmbedded = creationOptions.isEmbedded || false;
this.useRenderer = (this.configurationService.getValue<boolean>('notebook.experimental.useMarkdownRenderer') ?? !isWeb) && !accessibilityService.isScreenReaderOptimized();
this.useRenderer = (this.configurationService.getValue<boolean>('notebook.experimental.useMarkdownRenderer') ?? false /*!isWeb*/) && !accessibilityService.isScreenReaderOptimized();
this._overlayContainer = document.createElement('div');
this.scopedContextKeyService = contextKeyService.createScoped(this._overlayContainer);