This commit is contained in:
Julie Kirsch 2025-02-24 18:09:49 +01:00
parent cbdc2afeb2
commit 5062f449ef

View file

@ -10,7 +10,7 @@ Hello
````
````{tab-item} Embedding
1. You will first need to upload your media to the repository. Navigate to the folder called figures(`book/figures`) and make sure you are i the right branch. On the right top, click on `Add file` and `Upload new file`.
1. You will first need to upload your media to the repository. Navigate to the folder called figures(`book/figures`) and make sure you are in the right branch. On the right top, click on `Add file > Upload new file`.
2. Choose the visual media you want to upload. Remember its file name as you will need it later.
@ -18,9 +18,9 @@ Hello
4. Now let's add the figure to a chapter. Navigate to the file you want to work in (for example `book/some_content/overview.md`) and make sure you're in the correct branch.
5. Copy this syntax
5. Copy this syntax and adjust the file name, width, alignment and caption.
```python
```md
```{figure} figures/<new_figure>.PNG
---
@ -28,13 +28,12 @@ width: 80%
align: center
name: my_new_figure
---
New figure
<caption>
```
```
```{Warning}
Make sure the file extension of your figure is correct because markdown differentiates capital letters!
```