This commit is contained in:
Tom van Woudenberg 2025-03-04 08:10:03 +01:00
parent bb3608abed
commit 7e9aeacb11
2 changed files with 12 additions and 5 deletions

View file

@ -57,6 +57,13 @@ If your figure is in a different directory than your chapter, you'll need to ref
9. Do you see your change? If you don't see it click `CTRL`+`F5`/`Control`+`F5`to refresh the page.
```{admonition} Check your understanding
:class: note
Before moving on to the next exercise, make sure you understand the following:
- Where should you upload your visual media files in the repository?
- What is the recommended practice for storing figures in the book directory?
- What should you be cautious about when specifying the file extension of your figure?
- How do you refer to a figure located in a different directory than your chapter?
```

View file

@ -1,10 +1,10 @@
# Exercise 9: Referencing using target headers
It can be really useful to refer to a specific section in your book while working in a different file. Referencing can be done using target headers such as:
It can be really useful to refer to a specific section in your book while working in a different file.
```
(<title>)=
```
::::::{topic} Exercise objective
Can you add cross-references to headers?
::::::
1. Navigate to the file you want to work in (for example `book/some_content/overview.md`) and make sure you're in the correct branch.