CreateCodeBlockNodeOptions interface
The options necessary to construct a new code block node.
Signature:
export interface CreateCodeBlockNodeOptions
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
code | string | The code contents of the block. | |
language | string | The language of the code block (i.e. js, jsx, etc.). This is used for syntax highlighting. | |
meta | string | The additional meta data of the block. |