mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 12:19:20 +00:00
* Allow extensions to disable built-in markdown preview button
Adds a flag for the "Open Preview to the Side" button displayed for markdown files. This makes it possible for extensions to hide this button when desired by setting the flag to true. For example, extensions can now use the following line to disable the preview button:
```js
vscode.commands.executeCommand("setContext", "hasCustomMarkdownView", true);
```
* update keyword for disabling default markdown preview
Language Features for Markdown files
Notice: This extension is bundled with Visual Studio Code. It can be disabled but not uninstalled.
Features
See Markdown in Visual Studio Code to learn about the features of this extension.