discovered 03 Aug 2026
mdast
→ View on GitHubmdast is a specification for representing Markdown as an abstract syntax tree, allowing developers to parse, manipulate, and generate Markdown content programmatically. It supports various Markdown flavors, including CommonMark and GitHub Flavored Markdown, and integrates with the unist ecosystem, enabling a rich set of utility functions for syntax tree processing. Notable features include a comprehensive type system for different Markdown elements, such as headings, lists, and block quotes, facilitating extensibility and interoperability across programming languages.