diff --git a/.changeset/tall-planets-destroy.md b/.changeset/tall-planets-destroy.md new file mode 100644 index 0000000000..ecfe5d9648 --- /dev/null +++ b/.changeset/tall-planets-destroy.md @@ -0,0 +1,5 @@ +--- +'@astrojs/starlight': minor +--- + +Adds support for [accessing frontmatter data as a variable](https://docs.astro.build/en/guides/integrations-guide/markdoc/#access-frontmatter-from-your-markdoc-content) when using Markdoc diff --git a/packages/starlight/index.astro b/packages/starlight/index.astro index 60f9016254..74ba7b1c9b 100644 --- a/packages/starlight/index.astro +++ b/packages/starlight/index.astro @@ -16,4 +16,4 @@ const { Content, headings } = await Astro.props.entry.render(); const route = generateRouteData({ props: { ...Astro.props, headings }, url: Astro.url }); --- - +