mirror of
https://github.com/TeachBooks/template.git
synced 2026-11-12 22:25:52 +00:00
Update 009.md
This commit is contained in:
parent
222cfedacd
commit
8df769acf7
1 changed files with 4 additions and 4 deletions
|
|
@ -13,7 +13,7 @@ Referencing elements properly ensures that readers can navigate your book more e
|
|||
## Referencing a Chapter or Section
|
||||
|
||||
1. Open a new or existing Markdown file where you want to add a reference.
|
||||
2. Let's start with the simplest way to create a reference to another chapter. This is by directly linking it through the file path as shown in the following syntax:
|
||||
2. Let's start with the simplest way to create a reference to another chapter. Try this out by directly linking the chapter through the file path as shown in the following syntax.
|
||||
|
||||
```md
|
||||
[Text to display](path/to/file.md)
|
||||
|
|
@ -25,7 +25,7 @@ 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. The code below gives: [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. Use the example below to test this out. This code gives: [Jump to the next section](#referencing-an-equation)
|
||||
|
||||
```md
|
||||
[Jump to the next section](#referencing-an-equation)
|
||||
|
|
@ -76,7 +76,7 @@ This will display: My favourite exercise was {ref}`the first one <exercise_1>`.
|
|||
|
||||
$$ F = m \cdot a$$ (eq:Newton)
|
||||
|
||||
8. To refer to this equation we need to use `{eq}` and call the identifier within the `` to achieve: Refer to Equation {eq}`eq:Newton`.
|
||||
8. 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`
|
||||
|
|
@ -135,7 +135,7 @@ name: tab-example
|
|||
|
||||
## Referencing a Link
|
||||
|
||||
13. Finally, lets reference a link, using the following syntax:
|
||||
13. Finally, let's reference a link, using the following syntax:
|
||||
|
||||
```md
|
||||
[Text to display](url)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue