v0.1.0-next.24
v0.1.0-next.24
Released: 2026-06-02
Makes the markdown admonitions preset configurable: the :::caution admonition joins the built-in preset, and a new AdmonitionsPresetFeature accepts either a bool (on/off) or an object to tune individual directives — back-compatible with the previous always-on behaviour.
Features
- feat(md-extras): add
:::cautionadmonition to the preset (#682) (0b38c9b) - feat(md-ast): add AdmonitionsPresetFeature (bool|object) + pipeline wiring (42f2def)
- feat(ts): add AdmonitionDirectiveSpec, AdmonitionsPresetOptions, AdmonitionsPresetFeature types (afc77cb)
Bug Fixes
- fix(tests): update 7 struct-literal test sites from FeatureToggle to AdmonitionsPresetFeature (6baef38)
Other Changes
- docs: document configurable admonitions preset + caution (#685) (6af3993)
- test(md-extras): integration + back-compat coverage for configurable admonitions (#684) (87b4bcb)