Back to Explore

syntax-tree/mdast-util-from-markdown

GitHub
1 watchersOpen source

Last release: 3 months ago

mdast-util-from-markdown turns Markdown input into an mdast syntax tree. It tokenizes Markdown using micromark and then converts those tokens into nodes, useful if you want to work with Markdown syntax trees directly or integrate with the remark ecosystem.

Project status

  • Actively maintained: the upstream has had a recent push on 2026-06-02, and a new published update (2.0.3) followed on 2026-02-21.
  • Apparent update cadence is somewhat irregular, with updates in 2026 (2.0.3), then about 1.5 years earlier (2.0.2 on 2024-10-25), and another prior update in 2024 (2.0.1 on 2024-05-27).

AI summary generated Today

AI-generated from public sources. May be inaccurate. Report

Recent updates

  • 2.0.3

    3 months ago

    Release 2.0.3 is a small patch release focused on correcting how `fromMarkdown` interprets its `encoding` and `options` arguments. It prevents `options` from being accidentally overwritten when `encoding` is `undefined`, and adds coverage via new tests.

  • 2.0.2

    10/25/2024

    Release 2.0.2 is described as a refactor of the published TypeScript typings, including switching internal typing documentation to use `@import` statements. The diff indicates this is primarily a types-only reorganization, with no obvious runtime parsing logic changes.

  • 2.0.1

    5/27/2024

    Release 2.0.1 includes a targeted fix for position end points when markdown text ends with a character reference, plus TypeScript declaration map support. The code changes show the fix is implemented by adding an explicit exit handler for `characterReference` tokens and adjusting internal stack handling during compilation.