diff options
author | 2023-03-28 15:09:59 -0400 | |
---|---|---|
committer | 2023-03-28 15:09:59 -0400 | |
commit | 5f71d1bbebf950813c2af0ac2595d1684bb3dc6a (patch) | |
tree | 595866b8cf7881dbb7f561ee84ff6a4f32f0b044 /examples/with-markdoc/src/content/docs | |
parent | c0b7864a41dd9f31e5a588208d1ff806d4edf047 (diff) | |
download | astro-5f71d1bbebf950813c2af0ac2595d1684bb3dc6a.tar.gz astro-5f71d1bbebf950813c2af0ac2595d1684bb3dc6a.tar.zst astro-5f71d1bbebf950813c2af0ac2595d1684bb3dc6a.zip |
fix: update code challenge (#6697)
Diffstat (limited to 'examples/with-markdoc/src/content/docs')
-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 %} |