Function: $createCodeBlockNode

$createCodeBlockNode(options): CodeBlockNode

Creates a CodeBlockNode.

Parameters

NameTypeDescription
optionsPartial<CreateCodeBlockNodeOptions>The code contents, the language (i.e. js, jsx, etc.), and the additional meta data of the block.

Returns

CodeBlockNode