Interface: CreateCodeBlockNodeOptions
The options necessary to construct a new code block node.
Properties
Property | 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. |