Editor.toggleMarkdownFormatting method
Editor › toggleMarkdownFormatting
Unofficial
Applies specified markdown syntax to selected text or word under cursor.Signature:
toggleMarkdownFormatting(syntax: "bold" | "code" | "comment" | "highlight" | "italic" | "math" | "strikethrough"): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| syntax | "bold" | "code" | "comment" | "highlight" | "italic" | "math" | "strikethrough" | The markdown syntax to apply. |
Returns: void