npm / @markdoc/markdoc
@markdoc/markdoc
What changed in @markdoc/markdoc 0.5, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-27.
3 breaking2 new APIs and options2 behavior and defaults2 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@markdoc/markdoc 0.59 changes
Breaking changes 3
The formatter now prefixes every line of a blockquote's children with >.
Build output now targets ES2022+, so pipelines that transpile @markdoc/markdoc may need toolchain support for features such as static class blocks.
Markdoc.validate now raises errors for invalid syntax within table tags, helping identify invalid Markdoc table syntax.
New APIs and options 2
Enables enhanced link validation, which can detect Markdoc variables and tags in URLs.
You can provide a list of conditional tags in addition to
if;['if']remains the default.
Behavior and default changes 2
Parsing now supports multi-line tag openings inside blockquotes.
The validate() method returns more location and line information, making table-syntax validation error locations more precise.
Fixes and other changes 2
Fixes a type error when slicing annotation block content.
Schema.children is now strongly typed, improving type information for developers using the schema.