diff --git a/book/syntax_exercises/008.md b/book/syntax_exercises/008.md index 59c792b..c363da7 100644 --- a/book/syntax_exercises/008.md +++ b/book/syntax_exercises/008.md @@ -35,8 +35,8 @@ align: center Make sure the file extension of your figure is correct because markdown differentiates capital letters! ``` -```{Warning} -If your figure is in a different directory than your chapter, you'll need to refer it using relative parts. If your figure is in a subdirectory of the directory of the chapter, go deeper with `subdirectory/` (e.g. `figures/
.png`). If your figure is in another directory, move upwards with `../` (e.g. `../../figure/
` ) +```{tip} +If your figure is in a different directory than your chapter, you'll need to refer it using relative parts. If your figure is in a subdirectory of the directory of the chapter, go deeper with `subdirectory/` (e.g. `/
.png`). If your figure is in another directory, move upwards with `../` (e.g. `../..//
` ) ``` 6. To link and display an online figure, you can use the same `{figure}` directive. Just past in the : diff --git a/book/syntax_exercises/009.md b/book/syntax_exercises/009.md index 4fb0e8f..6f8e9ef 100644 --- a/book/syntax_exercises/009.md +++ b/book/syntax_exercises/009.md @@ -30,6 +30,11 @@ If you leave the text part empty, the title of the chapter you're referring to w ```md [](path/to/file.md) ``` + +```{tip} +If the chapter you're referring to is in different directory than your chapter, you'll need to refer it using relative parts. If the to be referenced chapter is in a subdirectory of the directory of the chapter, go deeper with `subdirectory/` (e.g. `/.md`). If the to be referenced chapter is in another directory, move upwards with `../` (e.g. `../..//` ) +``` + 3. Try out another way of referencing by using a target header. Navigate to the chapter or section you want to reference and assign it an identifier using `{ref}` as shown in the example below. ```md