summaryrefslogtreecommitdiff
path: root/examples/with-markdoc/src/content/docs/intro.mdoc
diff options
context:
space:
mode:
authorGravatar Ben Holmes <hey@bholmes.dev> 2023-03-28 15:09:59 -0400
committerGravatar GitHub <noreply@github.com> 2023-03-28 15:09:59 -0400
commit5f71d1bbebf950813c2af0ac2595d1684bb3dc6a (patch)
tree595866b8cf7881dbb7f561ee84ff6a4f32f0b044 /examples/with-markdoc/src/content/docs/intro.mdoc
parentc0b7864a41dd9f31e5a588208d1ff806d4edf047 (diff)
downloadastro-5f71d1bbebf950813c2af0ac2595d1684bb3dc6a.tar.gz
astro-5f71d1bbebf950813c2af0ac2595d1684bb3dc6a.tar.zst
astro-5f71d1bbebf950813c2af0ac2595d1684bb3dc6a.zip
fix: update code challenge (#6697)
Diffstat (limited to 'examples/with-markdoc/src/content/docs/intro.mdoc')
-rw-r--r--examples/with-markdoc/src/content/docs/intro.mdoc4
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 %}