Interface: CreateCodeBlockNodeOptions

The options necessary to construct a new code block node.

Table of contents

Properties

Properties

code

code: string

The code contents of the block.


language

language: string

The language of the code block (i.e. js, jsx, etc.). This is used for syntax highlighting.


meta

meta: string

The additional meta data of the block.