Function: $createCodeBlockNode()
$createCodeBlockNode(
options):CodeBlockNode
Creates a CodeBlockNode.
Parameters
| Parameter | Type | Description |
|---|---|---|
options | Partial<CreateCodeBlockNodeOptions> | The code contents, the language (i.e. js, jsx, etc.), and the additional meta data of the block. |