From 09e0a7a2cee98fe2db3e94b6f500a96788ce1d0a Mon Sep 17 00:00:00 2001 From: Tom van Woudenberg Date: Thu, 27 Mar 2025 08:37:07 +0100 Subject: [PATCH] add empty text --- book/syntax_exercises/009.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/book/syntax_exercises/009.md b/book/syntax_exercises/009.md index 8b23a46..4fb0e8f 100644 --- a/book/syntax_exercises/009.md +++ b/book/syntax_exercises/009.md @@ -24,6 +24,12 @@ For example, if you want to link to Exercise 7, you can write: ```md [Go to Exercise 7](../exercises/007.md) ``` + +If you leave the text part empty, the title of the chapter you're referring to will be used: + +```md +[](path/to/file.md) +``` 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