Unist là một đặc tả cho cây cú pháp. mdast là sự triển khai (implement) của unist lên markdown
unist is not intended to be self-sufficient. Instead, it is expected that other specifications implement unist and extend it to express language specific nodes. For example, see projects such as hast (for HTML), nlcst (for natural language), mdast (for Markdown), and xast (for XML).
unist relates to JSON in that compliant syntax trees can be expressed completely in JSON. However, unist is not limited to JSON and can be expressed in other data formats, such as XML.
unist relates to JavaScript in that it has a rich ecosystem of utilities for working with compliant syntax trees in JavaScript. The five most used utilities combined are downloaded thirty million times each month. However, unist is not limited to JavaScript and can be used in other programming languages.
unist relates to the unified, remark, rehype, and retext projects in that unist syntax trees are used throughout their ecosystems.
unist relates to the vfile project in that it accepts unist nodes for its message store, and that vfile can be a source file of a syntax tree.
Trích từ:: GitHub - syntax-tree/unist: Universal Syntax Tree used by @unifiedjs