Back to Explore

syntax-tree/mdast-util-gfm-table

GitHub
1 updates · last 90 daysOpen source

Last release:

mdast-util-gfm-table provides mdast extensions to parse and serialize GitHub Flavored Markdown (GFM) tables, turning GFM table syntax into mdast nodes and back. It is useful when you are already using mdast-util-from-markdown and mdast-util-to-markdown with table support.

Project status

  • The source has recent activity: an update and upstream push landed on November 3, 2026.
  • Its cadence appears irregular, with a long gap between the July 2023 update and the latest one, so a regular schedule is not evident.

AI summary generated

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

Recent updates

  • 2.0.1

    Version 2.0.1 is a maintenance release focused on GFM table serialization fixes and a performance improvement. It also adds declaration maps and makes substantial updates to development tooling.

  • 2.0.0

    mdast-util-gfm-table v2.0.0 updates its packaging and underlying mdast-util dependencies, and changes the public API shape for `gfmTableFromMarkdown`. It also updates the markdown serialization extension to align with newer `mdast-util-to-markdown` internals and handler wiring.

    Breaking
  • 1.0.7

    Release 1.0.7 is described as a documentation/code-style update. However, the actual diff shows substantial changes to TypeScript declaration packaging and the project build/type-check toolchain, beyond the release notes. Runtime logic changes are not clearly evident, but the TypeScript surface and build process were materially modified.

    Features
  • 1.0.6

    Release 1.0.6 is a small packaging change. The release notes indicate that a missing type dependency was added.

  • 1.0.5

    Release 1.0.5 is described as “Add improved docs” in the release notes. The diff shows no library source-code changes, but it does update CI Node LTS testing and bumps a couple of development dependencies, along with a large README overhaul.

  • 1.0.4

    Release 1.0.4 is a small patch release. The published release notes only mention adding a missing dependency required for types.

  • 1.0.3

    Release 1.0.3 adds support for position tracking when converting mdast GFM tables to markdown. The code change threads an additional SafeOptions object through the table serialization pipeline and updates mdast-util-to-markdown as a dependency to get the needed support.

    Features
  • 1.0.2

    Release 1.0.2 contains a fix related to table alignment handling, plus minor dependency and test updates. The code change specifically normalizes the internal alignment values before producing mdast nodes.

  • 1.0.1

    Release 1.0.1 is a small patch release. The documented change fixes escaping of phrasing characters when serializing Markdown GFM tables.

  • 1.0.0

    Version 1.0.0 is a major refactor of mdast-util-gfm-table to an ES module based build, with added JSDoc driven types and refreshed documentation. The implementation consolidates parsing and serialization logic into index.js and updates runtime dependencies to newer major versions.

    BreakingFeatures
  • 0.1.6

    Release 0.1.6 updates mdast-util-gfm-table to fix escaping of pipe characters when rendering table cells to Markdown. The change adjusts the escaping logic so multiple (and adjacent) pipes are properly escaped within tableCell content.