micromark extension that adds GitHub Flavored Markdown (GFM) table syntax support to micromark, matching github.com’s table behavior. It provides extensions for parsing GFM tables and for serializing them to HTML (gfmTable and gfmTableHtml), useful when you want your markdown processor to recognize and output tables.
Project status
- The repo appears actively maintained, with the most recent upstream push on 2025-01-20 and a follow-up update released as 2.1.1 the same day.
- Update cadence looks moderate, with 2.1.1 following 2.1.0 after about 6 months (2024-07-05 to 2025-01-20), and the prior major update 2.0.0 coming about 18 months earlier (2023-06-23).
AI summary generated Today
Recent updates
2.1.1
1/20/2025Release 2.1.1 focuses on fixing a stack overflow issue in the GFM table extension’s event handling, and it includes TypeScript declaration/type refactoring. It also enables TypeScript declaration maps (declarationMap) for improved typings distribution.
2.1.0
7/5/2024Release 2.1.0 makes a small GFM table extension change by introducing a `name` on the micromark flow construct for tables, and refactors some source/type documentation to use `@import` syntax. It also includes several build and tooling updates (CI actions, devDependencies) that are not mentioned in the release notes.
Features2.0.0
6/23/2023Release 2.0.0 modernizes micromark-gfm-table for newer dependencies and Node.js 16+. It changes the public API so `gfmTable` is now invoked as a function that returns the micromark extension.
Breaking1.0.7
5/30/2023Release 1.0.7 is primarily described as a TypeScript typing update related to changes in `micromark-util-types`. The code diff also introduces new runtime assertions in the table HTML and parsing logic, replacing prior unchecked casts, which could change behavior for malformed or unexpected parser state.
1.0.6
5/10/2023Release 1.0.6 focuses on performance work, including a refactor to better match the underlying `markdown-rs` implementation. It also updates documentation and JSDoc comments, and refreshes TypeScript typing compatibility.
1.0.5
12/8/2021Release 1.0.5 claims to only update docs in the release notes, but the code diff shows actual parsing and rendering logic changes for GFM table alignment handling. The update also modernizes the test suite by generating fixtures dynamically and adds the corresponding fixture files, plus README and dev tooling refreshes.
1.0.4
11/19/2021Release 1.0.4 claims to fix interruption handling for GFM tables (micromark extension-gfm-table). The code change primarily refactors how the table delimiter row is detected and how it is interrupted by other block constructs.
1.0.3
10/26/2021Release 1.0.3 updates the micromark GFM table extension to correctly handle empty cells in table header and body rows. It adds new parser test cases for empty first and last header cells, and empty first and last body cells, while making a small internal logic adjustment in the table resolver.
1.0.2
10/9/2021Version 1.0.2 primarily swaps the assertion library used in the development build from power-assert to uvu/assert. The change also updates the published package dependencies accordingly and makes a small linter configuration tweak.
1.0.1
10/2/2021Release 1.0.1 bumps the package version and updates the development tooling to use `power-assert` for assertions in the GFM table extension dev code. The diff also includes some internal refactoring in the dev syntax resolver and several development dependency upgrades.