BreakBlock

typestringrequired
childrenOne Of
array

List of children nodes of the current node

DocumentBlockobject

content of the document

Example:{"type":"doc","content":[{"type":"paragraph","content":[{"text":"Hello World","type":"text"}]}]}

Show Child Parameters
Example

CodeBlock

typestringrequired
childrenOne Of
array

List of children nodes of the current node

DocumentBlockobject

content of the document

Example:{"type":"doc","content":[{"type":"paragraph","content":[{"text":"Hello World","type":"text"}]}]}

Show Child Parameters
langstring
Example

ListBlock

typestringrequired
childrenOne Of
array

List of children nodes of the current node

DocumentBlockobject

content of the document

Example:{"type":"doc","content":[{"type":"paragraph","content":[{"text":"Hello World","type":"text"}]}]}

Show Child Parameters
isOrderedboolean

Defines if the list is ordered or not

Example

ListItemBlock

typestringrequired
childrenOne Of
array

List of children nodes of the current node

DocumentBlockobject

content of the document

Example:{"type":"doc","content":[{"type":"paragraph","content":[{"text":"Hello World","type":"text"}]}]}

Show Child Parameters
Example

Text

typestringrequired
childrenOne Of
array

List of children nodes of the current node

DocumentBlockobject

content of the document

Example:{"type":"doc","content":[{"type":"paragraph","content":[{"text":"Hello World","type":"text"}]}]}

Show Child Parameters
textstring
hardBreakboolean

If this property is true the end of this block should
be a carriage return and not concatenated to the next Text block.

softBreakboolean

If this property is true the end of this block should should be
concatenated with a space caracter before the next block. This is
the flag showing that the parsed markdown block was at the end of
the line.

Example