diff --git a/book/syntax_exercises/009.md b/book/syntax_exercises/009.md index 3cbf0e1..f7c1720 100644 --- a/book/syntax_exercises/009.md +++ b/book/syntax_exercises/009.md @@ -76,7 +76,7 @@ This will display: My favourite exercise was {ref}`the first one `. $$ F = m \cdot a$$ (eq:Newton) -8. Refer to this equation by using `{eq}` and calling the identifier within the `` to achieve: Refer to Equation {eq}`eq:Newton`. +9. Refer to this equation by using `{eq}` and calling the identifier within the `` to achieve: Refer to Equation {eq}`eq:Newton`. ```md Refer to Equation {eq}`eq:Newton` @@ -85,16 +85,17 @@ Refer to Equation {eq}`eq:Newton` ## Referencing a Table -9. 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. Start by creating a table by copying the code below. The identifier is defined using `:name:`. ```md - ```{table} Example Table - :name: tab-example - | Column 1 | Column 2 | - |----------|----------| - | A | B | - ``` + ```{table} Example Table + :name: tab-example + | Column 1 | Column 2 | + |----------|----------| + | A | B | ``` + ``` + ```{table} Example Table @@ -104,7 +105,7 @@ name: tab-example | A | B | ``` -10. Refer to the table like {numref}`Table {number} ` using `{numref}` and `{number}` as follows: +11. Refer to the table like {numref}`Table {number} ` using `{numref}` and `{number}` as follows: ```md @@ -114,7 +115,7 @@ name: tab-example ## Referencing a Figure -11. This can also be done for a figure. Let's add a figure as we learnt to do in [Exercise 7](007.md), but this time adding an identifier using `name:`. +12. This can also be done for a figure. Let's add a figure as we learnt to do in [Exercise 8](008.md), but this time adding an identifier using `name:`. ```md ```{figure} figures/example.png @@ -127,7 +128,7 @@ name: tab-example ``` ``` -12. Refer to the figure in the format {numref}`Figure {number} ` using `{numref}` as follows: +13. Refer to the figure in the format {numref}`Figure {number} ` using `{numref}` as follows: ```md {numref}`Figure {number} ` @@ -135,7 +136,7 @@ name: tab-example ## Referencing a Link -13. Finally, let's reference a link, using the following syntax: +14. Finally, let's reference a link, using the following syntax: ```md [Text to display](url) @@ -148,13 +149,13 @@ Here is the [link to the template](https://teachbooks.github.io/template/). ``` -14. When you are ready, commit your changes to the repository by clicking on the green `Commit changes` button. +15. When you are ready, commit your changes to the repository by clicking on the green `Commit changes` button. -15. Add a commit message. +16. Add a commit message. -16. To see you changes, go to {octicon}`play;1em` `Actions` - The most recent workflow run `overview.md / the commit message of the commit you just made` - Wait for it to finish - In the summary, click on the link of your book shown in the table `Branches deployed` and under `Primary book at root` (getting bored of waiting? There'll be exercising on doing this locally which prevents you from waiting). +17. To see you changes, go to {octicon}`play;1em` `Actions` - The most recent workflow run `overview.md / the commit message of the commit you just made` - Wait for it to finish - In the summary, click on the link of your book shown in the table `Branches deployed` and under `Primary book at root` (getting bored of waiting? There'll be exercising on doing this locally which prevents you from waiting). -17. Do you see your change? If you don't see it click `CTRL`+`F5`/`Control`+`F5`to refresh the page. +18. Do you see your change? If you don't see it click `CTRL`+`F5`/`Control`+`F5`to refresh the page. ```{admonition} Check your understanding