Interface: CreateCodeBlockNodeOptions

The options necessary to construct a new code block node.

Properties

PropertyTypeDescription
codestringThe code contents of the block.
languagestringThe language of the code block (i.e. js, jsx, etc.). This is used for syntax highlighting.
metastringThe additional meta data of the block.