From fae3f34381ede9f30d57f58855e16f9571d776e3 Mon Sep 17 00:00:00 2001 From: Tom van Woudenberg Date: Tue, 1 Apr 2025 08:08:55 +0200 Subject: [PATCH] add references on references page --- book/syntax_exercises/009.md | 2 +- book/syntax_exercises/010.md | 2 +- book/syntax_exercises/011.md | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/book/syntax_exercises/009.md b/book/syntax_exercises/009.md index a9adf32..c47122d 100644 --- a/book/syntax_exercises/009.md +++ b/book/syntax_exercises/009.md @@ -31,7 +31,7 @@ $$ E = m \ccdot c^2 $$ 4. Check whether the equations renders correctly by clicking `preview` if you're making this edit in the GitHub single file editor. Make sure you already defined the file type as `.md` to enable rendering. Note that all ill-formatted equation are indicated in red, i.e. $\red{\text{\ccdot}}$ -5. As an alternative you try and use the 'math directive'. This will have the same results + adds a equation number which can be used for referencing (refer to [Exercise 11](011.md)): +5. As an alternative you try and use the 'math directive'. This will have the same results + adds a equation number which can be used for referencing (refer to [](011.md)): ````md ```{math} diff --git a/book/syntax_exercises/010.md b/book/syntax_exercises/010.md index dabcd37..ff3e38a 100644 --- a/book/syntax_exercises/010.md +++ b/book/syntax_exercises/010.md @@ -30,7 +30,7 @@ The syntax to type a table is a bit cumbersome. You could make use of online too ## Creating Tables with directives -4. You can also use the `table` directive to create tables with additional formatting options: captions and [layout options](https://myst-parser.readthedocs.io/en/latest/syntax/tables.html#table-with-captions). Furthermore, this method allows referencing (refer to [Exercise 11](011.md)) Try it with the following example: +4. You can also use the `table` directive to create tables with additional formatting options: captions and [layout options](https://myst-parser.readthedocs.io/en/latest/syntax/tables.html#table-with-captions). Furthermore, this method allows referencing (refer to [](011.md)) Try it with the following example: ````md ```{table} Table caption diff --git a/book/syntax_exercises/011.md b/book/syntax_exercises/011.md index 352cd63..a40da80 100644 --- a/book/syntax_exercises/011.md +++ b/book/syntax_exercises/011.md @@ -73,7 +73,7 @@ My favourite exercise was [this one](exercise_1). ## Referencing an Equation -8. Now we will test our knowledge using an equation. Similar to the code below, create an equation using $$ and identify it using a label within the brackets. +8. Now we will test our knowledge using an equation (as implemented before in [](009.md)). Similar to the code below, create an equation using $$ and identify it using a label within the brackets. ```md @@ -94,7 +94,7 @@ Alternatively, you can use the default `[<text to display>](<identifier>)`. ## Referencing a Table -10. Similar methods can also be used to refer to a table. Start by creating a table by copying the code below. The identifier is defined using `:name:`. +10. Similar methods can also be used to refer to a table (as implemented before in [](010.md)). Start by creating a table by copying the code below. The identifier is defined using `:name:`. ````md ```{table} Example Table