txt function

Node txt(
  1. String content
)

Plain unwrapped text node — ideal for mixing text and inline tags inside lists of Nodes.

Implementation

Node txt(String content) => Node.text(content);