Skip to content

Function: setCodeBlockLanguage() ​

ts
function setCodeBlockLanguage(language): Command;

Change the language of the code block at the selection. Requires advancedSchema().

Parameters ​

ParameterType
languagestring | null

Returns ​

Command