indent retry

This commit is contained in:
Katia Gatt 2025-03-26 16:16:16 +01:00
parent efbfe489f6
commit 99e915ad07

View file

@ -87,15 +87,22 @@ Refer to Equation {eq}`eq:Newton`
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
```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 |
```
11. Refer to the table like {numref}`Table {number} <tab-example>` using `{numref}` and `{number}` as follows:
@ -103,6 +110,7 @@ Refer to Equation {eq}`eq:Newton`
```md
{numref}`Table {number} <tab-example>`
```
## Referencing a Figure
@ -110,14 +118,15 @@ Refer to Equation {eq}`eq:Newton`
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
---
width: 80%
align: center
name: fig-example
---
Example figure.
```
```{figure} figures/example.png
---
width: 80%
align: center
name: fig-example
---
Example figure.
```
```
```
13. Refer to the figure in the format {numref}`Figure {number} <fig-example>` using `{numref}` as follows: