f42f47dc6a
* wip: dream api
* deps: rollup types
* feat: get entry data in there
* fix: properly show mdoc errors in overlay
* feat: implement with cache
* fix: wait for in-flight entry resolution
* test: entry properties can be rendered
* chore: changeset
* fix: remove rollup type import
* Revert "deps: rollup types"
This reverts commit 484ccb1c81
.
* docs: add README reference
* docs nit: missing space
Co-authored-by: Yan Thomas <61414485+Yan-Thomas@users.noreply.github.com>
* refactor: split config config loading to separate helper
* refactor: choose more readable variable names
* refactor: store awaiting queue in existing cache
* docs: add clear code comments
* nit: add skip module code comment
* refactor: add `idHandledByContentRenderPlugin`
* nit: store chokidar modified events in const
* fix: remove loop from content renderer
* nit: else if -> if
---------
Co-authored-by: Yan Thomas <61414485+Yan-Thomas@users.noreply.github.com>
14 lines
269 B
Markdown
14 lines
269 B
Markdown
---
|
|
'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 %}
|
|
```
|