Skip to content

The unified.js ecosystem

Basics

  Markdown HTML XML Natural language JavaScript
Syntax (unist) mdast hast xast nlcst esast
Parser remark-parse rehype-parse ? ? ?
Stringifier remark-stringify rehype-stringify ? retext-stringify ?

Transforming between AST types

From ↓ to → Markdown HTML XML Natural language JavaScript
Markdown remark-rehype ? ? ?
HTML rehype-remark ? ? ?
XML ? ? ? ?
Natural language ? ? ? ?
JavaScript ? ? ? ?