MarkdownNodeText

Reference

Simple Node use to represent words and whitespace,

Is used when dealing with child nodes.

Properties

body

  • Type: string

toHtml

  • Type: function

Convert the node to Html text

It just return the value in body without any Html tag

node.toHtml() // Hello