diff --git a/.changeset/lazy-mice-fetch.md b/.changeset/lazy-mice-fetch.md new file mode 100644 index 0000000000..bdb6f6540a --- /dev/null +++ b/.changeset/lazy-mice-fetch.md @@ -0,0 +1,14 @@ +--- +'astro': patch +'@astrojs/markdoc': patch +--- + +Allow access to content collection entry information (including parsed frontmatter and the entry slug) from your Markdoc using the `$entry` variable: + +```mdx +--- +title: Hello Markdoc! +--- + +# {% $entry.data.title %} +```