MarkdownNodeTextBold
Node to represent bold text
This node can have children nodes
Properties
body
- Type:
string
Plain text containing the content of the node
children
- Type:
NodeArray<MarkdownNode>
Array of children nodes
toHtml
- Type:
function
Convert the node to Html
text
node.toHtml() // <strong>Content</strong>
// if have children
node.toHtml() // <strong>{...children.map(c => c.toHtml())}</strong>