astro/.changeset/lazy-mice-fetch.md

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
269 B
Markdown
Raw Normal View History

2023-03-17 23:04:29 +00:00
---
'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 %}
```