Preparing for system design interviews?  Try bugzed.com →

Markdown to mdast AST Parser

JSON →
library 2.0.3 ·javascript
verified Jun 17, 2026

mdast-util-from-markdown is a foundational utility in the syntax-tree ecosystem, designed to parse Markdown input into an mdast (Markdown Abstract Syntax Tree) syntax tree. It leverages the micromark tokenizer internally and transforms its output into a tree structure. The current stable version is 2.0.3, with frequent patch and minor releases, while major versions like 2.0.0 introduce significant breaking changes such as the shift to ESM-only and a minimum Node.js 16 requirement. This package provides a lower-level API for direct AST manipulation, making it suitable for developers who need fine-grained control over the parsing process or wish to integrate custom syntax extensions like GFM, MDX, Math, or Frontmatter. It is distinct from micromark (which focuses on direct HTML output) and remark-parse (which offers a higher-level, more abstracted content processing experience within the remark ecosystem).

total hits 14
actors 5 distinct systems
last hit 18d ago AhrefsBot
GPTBot
4
ChatGPT-User
4
Script
1
MetaBot
1

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇯🇵 Japan · 🇨🇭 Switzerland · 🇩🇪 Germany