comment-block-transformer npm package applies transforms to Markdown comment blocks
DavidWells · x · 2026-11-25
David Wells highlights [email protected], an npm package for programmatically manipulating Markdown via HTML comment blocks. It parses <!-- block name -->...<!-- /block --> sections and applies configured transform functions, supporting per-block options via inline JSON (e.g. prefixes), multiple named transforms per document, and before/after middleware. Install with npm install comment-block-transformer and call blockTransformer(text, config); suited for automated doc pipelines that need templated section processing.
More from coding & agent
- Antigravity v2.35.0 rolling out with a batch of developer-facing improvements — ShanRizvi · 2026-11-25
- 95,789 telemetry events reveal Theo's wild AI coding habits: 215 agent-days in 81 days — fekdaoui · 2026-11-25
- Spawning a lightweight early copy then forking cuts memory footprint ~30x — steipete · 2026-11-25
- Latentroom: Free Open-Source Windows App Runs Qwen-Image 2.1 Locally on NVIDIA Cards — __smb · 2026-11-25
- Stripe's New APIs Answered 100,000+ Questions in a Day — Most From AI Agents — emilygsands · 2026-11-25
- T3 Code to go closed-source tonight as open-source AI coding tools spark trust debate — gethackteam · 2026-11-25