diff options
Diffstat (limited to 'examples/with-markdoc/src/content/docs/intro.mdoc')
-rw-r--r-- | examples/with-markdoc/src/content/docs/intro.mdoc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/with-markdoc/src/content/docs/intro.mdoc b/examples/with-markdoc/src/content/docs/intro.mdoc index da987d9ec..c8fcf5675 100644 --- a/examples/with-markdoc/src/content/docs/intro.mdoc +++ b/examples/with-markdoc/src/content/docs/intro.mdoc @@ -20,9 +20,9 @@ This simple starter showcases Markdoc with Content Collections. All Markdoc feat {% aside title="Code Challenge" type="tip" %} -Reveal the secret message below by adding `revealSecret: true` to your list of Markdoc variables. +Reveal the secret message below by adding `revealSecret` to your list of Markdoc variables. -_Hint: Try [adding a `variables` object](https://markdoc.dev/docs/variables#global-variables) to your Markdoc config. Check the `astro.config.mjs`._ +_Hint: Try passing as a prop to the `<Content />` component in the `src/pages/index.astro` file._ {% if $revealSecret %} |