From 222cfedacdbe21a38a0b34034f275b8209579560 Mon Sep 17 00:00:00 2001 From: Katia Gatt Date: Wed, 26 Mar 2025 00:01:22 +0100 Subject: [PATCH] Update 009.md --- book/syntax_exercises/009.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/book/syntax_exercises/009.md b/book/syntax_exercises/009.md index 63743c6..6fda948 100644 --- a/book/syntax_exercises/009.md +++ b/book/syntax_exercises/009.md @@ -25,14 +25,14 @@ For example, if you want to link to Exercise 7, you can write: [Go to Exercise 7](../exercises/007.md) ``` -3. If we want to refer to a section within the same file, we can use local refencing by directly inputting the name of the required section. For example: [Jump to the next section](#referencing-an-equation) +3. If we want to refer to a section within the same file, we can use local refencing by directly inputting the name of the required section. The code below gives: [Jump to the next section](#referencing-an-equation) ```md [Jump to the next section](#referencing-an-equation) ``` -4. 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. This could be once again in the same markdown file, or a different file in the same repository. +4. 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 within brackets as shown in the example below. This could be once again in the same markdown file, or a different file in the same repository. ```md (exercise_1)= @@ -55,7 +55,7 @@ This will display: My favourite exercise was {ref}`the first one `. ``` -7. The last method uses markdown syntax to also display a custom title text. Refer to the desired section once again, this time by putting the custom text within the [] and calling the identifier within the <> as shown below. This will display: My favourite exercise was [this one](exercise_1). +7. The last method uses markdown syntax to also display a custom title text. Refer to the desired section once again, this time by putting the custom text within [] and calling the identifier within <> as shown below. This will display: My favourite exercise was [this one](exercise_1). ```md @@ -104,7 +104,7 @@ name: tab-example | A | B | ``` -10. Refer to the table like {numref}`Table {number} ` using {numref} and {number} as follows: +10. Refer to the table like {numref}`Table {number} ` using `{numref}` and `{number}` as follows: ```md