Skip to content

Function: setHeading() ​

ts
function setHeading(level): Command;

Turn the selected blocks into headings of level. Requires the heading extension.

Parameters ​

ParameterType
levelnumber

Returns ​

Command