Back to Explore

micromark/micromark-extension-gfm-table

GitHub
2 watchersOpen source

Last release:

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

  • Maintenance status: Not actively updated as of today (last upstream push was 2025-01-20, about 17 months ago), so the repository/package looks quiet or in maintenance mode rather than actively evolving.
  • Update cadence: Updates are infrequent. The timeline shows updates in 2025-01-20 (2.1.1), 2024-07-05 (2.1.0), 2023-06-23 (2.0.0), then much earlier (mostly 2021), indicating long gaps between changes.

AI summary generated

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

Recent updates

  • 2.1.1

    Release 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

    Release 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.

    Features
  • 2.0.0

    Release 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.

    Breaking
  • 1.0.7

    Release 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

    Release 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

    Release 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

    Release 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

    Release 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

    Version 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

    Release 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.