MarkdownView.setMode method
MarkdownView › setMode
Unofficial
Set the mode of the editor.Signature:
setMode(component: MarkdownSubView): Promise<void>Parameters:
| Parameter | Type | Description |
|---|---|---|
| component | MarkdownSubView | The markdown subview mode to set. |
Returns: Promise<void> — A promise that resolves when the mode is set.