v0.4.0
Highlights
- Doc-tag extension (opt-in):
@name [target] — bodyblock-level annotations for API documentation tooling. Configurable per-tag via aTagRegistrywithacceptsTargetflag andContentMode(Opaque/InlineMarkdown/BlockMarkdown). Unknown tags fall back to plain text in strict mode or emit lenientDocTagBlocknodes by default. - Footnotes (opt-in):
[^label]references with[^label]: ...definitions. Backref link injection; numbered by first-reference order. - Smart punctuation (opt-in): curly quotes, en/em dashes, ellipsis.
- Attributes / spans (opt-in):
{#id .class key=value}on headings, fenced blocks, images.
Toolchain
- Upgraded to Scala 3.8.3 and sbt 1.12.8.
Conformance
All 877 CommonMark 0.31.2 spec tests continue to pass.