Back to Explore

micromark/micromark-extension-gfm-task-list-item

GitHub
2 watchersOpen source

Last release:

micromark extension that adds support for GFM task list items, matching how GitHub handles task list syntax. Useful if you are using micromark and want markdown like `[x]` or `[ ]` checklist items rendered as HTML. It exports `gfmTaskListItem()` for parsing and `gfmTaskListItemHtml()` for HTML serialization.

Project status

  • Maintenance status: The most recent upstream push is 2024-09-02, and the latest listed update is 2.1.0 on 2024-07-05, so as of 2026-06-09 the source appears quiet/dormant (not actively updated in the last ~2 years).
  • Update cadence: Updates are infrequent, with long gaps between versions (for example, 2.1.0 in 2024, then 2.0.1 in 2023, then earlier updates dating back to 2021).

AI summary generated

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

Recent updates

  • 2.1.0

    Release 2.1.0 makes the task list tokenizer construct explicitly named (taskListCheck) and refactors type documentation/imports to use @import syntax. The code diff also includes CI and dev-tooling version bumps plus an added test covering disable behavior.

    Features
  • 2.0.1

    Release 2.0.1 primarily updates micromark-related dependencies. The documented release note only mentions a micromark update, but the actual diff shows broader dependency major version bumps plus a code import path change.

  • 2.0.0

    Version 2.0.0 is a major update that changes how the extension is consumed, switching exported extension definitions to factory functions that must be called. It also raises the required Node.js version. Code changes indicate the public API shape for both the markdown and HTML extensions is different than what users may expect from the (partially) documented migration notes.

    Breaking
  • 1.0.5

    Release 1.0.5 is a TypeScript-focused update. It adds a declaration file that augments `micromark-util-types` with task list token type mappings, and updates the project to include that declaration during compilation.

  • 1.0.4

    Release 1.0.4 is presented as documentation and typing improvements. However, the code diff shows a substantive refactor of the micromark tokenizer state machine for GFM task list items, which likely changes parsing behavior around what is allowed after the closing checkbox marker.

  • 1.0.3

    Release 1.0.3 is described as a small fix to whitespace handling in GFM task list items, plus a documentation update. The code changes go beyond that, with actual HTML output formatting changes for the rendered checkbox input element and modified parsing rules around whitespace and line endings.

  • 1.0.2

    Release 1.0.2 makes a small internal change to how assertions are imported, switching from power-assert to uvu/assert in the development code. It also updates the dependency list to replace power-assert with uvu and tweaks a linting rule.

  • 1.0.1

    Release 1.0.1 is a small maintenance update. The only explicitly documented change is switching the development build to use power-assert instead of the built-in assert module.

  • 1.0.0

    Version 1.0.0 migrates the micromark extension to an ESM-only package layout, introduces JSDoc-based typing with a TypeScript build step, and updates the micromark dependency. It also changes the public API surface to named exports for both the tokenizer and HTML compiler extensions. Release notes mention these themes, but the concrete breaking API and module-path changes are not spelled out.

    BreakingFeatures
  • 0.3.3

    Release 0.3.3 is primarily a dependency update, bumping micromark from ~2.10.0 to ~2.11.0. The release also updates CI configuration (Travis to GitHub Actions) and refreshes dev tooling and README badges.