Skip to content

Commit

Permalink
clarify exercise customisation
Browse files Browse the repository at this point in the history
  • Loading branch information
tavareshugo committed Sep 4, 2024
1 parent a4dd8fe commit 4236c67
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions materials/02-content_guidelines.md
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ exercises:
#### Hide all answers
By default answers are rendered on the site.
If you want to hide all the answers, such that they are not rendered at all (e.g. during a course) you can edit the `_quarto.yml` file and turn this on:
If you want avoid them from being rendered at all (e.g. during a course) you can edit the _quarto.yml file and turn this on:
```yml
exercises:
Expand All @@ -224,10 +224,10 @@ exercises:
#### Hide individual answers
You can choose to hide individual answers using an attribute to the answer callout:
You can stop individual answers from being rendered using an attribute to the answer callout:
- `{.callout-answer hide = true}` will hide the answer
- `{.callout-answer hide = false}` will show the answer
- `{.callout-answer hide = true}` will hide (i.e. not render) the answer
- `{.callout-answer hide = false}` will show (i.e. render) the answer

Note that these options overide the global option set in the `_quarto.yml` detailed above.

Expand Down

0 comments on commit 4236c67

Please sign in to comment.