v0.1.0-next.25
v0.1.0-next.25
Released: 2026-06-02
Breaking Changes
Remove the
markdown.features.admonitionsPresetfeature entirely and replace it with a genericmarkdown.features.directivesmap (name → DirectiveSpec) that registers zero default directive names. Configs still settingadmonitionsPresetnow fail to load (deny_unknown_fields). (318da76)Rename the config spec types to drop the
Admonitionprefix:AdmonitionDirectiveSpec → DirectiveSpec,AdmonitionDirectiveFullSpec → DirectiveFullSpec,AdmonitionDirectiveKind → DirectiveSpecKind. (449bad7)
Features
Add
markdown.features.directives— register your own:::name/::name/:name→<Component>mappings (short form"Component"or full form{ component, kind, titleFromLabel }). zfb is the engine; admonitions are now an opt-in recipe you assemble yourself (you supply the components). (700326c, 217d60f)
Other Changes
docs: reframe the markdown-features docs around the generic directives engine; add a
directivesfeature page and an admonitions recipe page (withdetailsas a separate collapsible). (03175db)test: migrate the suite to explicit
directivesmaps; add zero-default + per-kind coverage and a removal-proof test; drop the orphaned admonitions snapshot fixture. (b069f1f, 91d1afa, 4e72a0b)