mdast-util-gfm-strikethrough is an mdast extension that parses and serializes GitHub Flavored Markdown (GFM) strikethrough syntax. It provides extensions for mdast-util-from-markdown (to parse ~~strikethrough~~ into an mdast node) and mdast-util-to-markdown (to turn those nodes back into markdown), useful when you already use that mdast parsing and serialization pipeline.
Project status
- Maintained status, appears effectively in maintenance mode: the last observed update was 2.0.0 on 2023-07-10, with no newer updates shown since then.
- Update cadence, sparse based on the available history: updates appear in 2023 (2.0.0), earlier in 2023 (1.0.3), and in 2022 (1.0.2), suggesting an irregular and low-frequency release pattern.
AI summary generated Today
Recent updates
2.0.0
7/10/2023Version 2.0.0 refactors the GFM strikethrough plugin to align with newer unified ecosystem conventions and updates core dependencies. The primary documented API change is that `gfmStrikethroughFromMarkdown` and `gfmStrikethroughToMarkdown` are now callable extension factories rather than exported extension objects, and Node.js 16 is required.
BreakingFeatures1.0.3
1/30/2023Release 1.0.3 is primarily described as documentation and code-style refactoring, plus a tsconfig update. The diff shows a larger internal restructuring: implementation moved into a new lib/index.js, new TypeScript declarations were added, and the markdown serialization logic changed the mdast-util-to-markdown construct name used during serialization.
1.0.2
11/4/2022Release 1.0.2 updates the GFM strikethrough serialization behavior to avoid escaping the tilde (~) in select “safe” phrasing constructs (mostly around links and link titles). It also includes substantial README improvements and bumps a couple of dev-related dependencies used by the project.