mdast is a specification for representing Markdown in a syntax tree. It implements the unist spec. It can represent several flavours of Markdown, such as CommonMark, and GitHub Flavored Markdown extensions.
- Development of mdast started in July 2014, in remark, before unist existed. This specification is written in a Web IDL-like grammar.