The examples on https://markdoc.io/ surface frontmatter variables under $markdoc.frontmatter.blah, while here the preprocessor seems to make $blah a top level variable. This threw me a bit when I started copying examples across.
If you're happy with this change I think there's one snippet in the README that would need updating too.
The examples on https://markdoc.io/ surface frontmatter variables under
$markdoc.frontmatter.blah
, while here the preprocessor seems to make$blah
a top level variable. This threw me a bit when I started copying examples across.If you're happy with this change I think there's one snippet in the README that would need updating too.