Editor › setHeading
Unofficial
Sets the markdown heading level of the line(s) under the cursor.
Signature:
setHeading(level: number): void
Parameters:
| Parameter | Type | Description |
| level | number | The heading level (1 to 6), or 0 to remove the heading. |
Returns: void