This commit is contained in:
Julie Kirsch 2025-02-24 18:01:01 +01:00
parent fd0e1a131f
commit cbdc2afeb2

View file

@ -2,13 +2,13 @@
To help you illustrate your content, it can be sueful to add some type of visual media such as figures, videos or gifs. If you want to add a figure/gif/video to you book, you can refer to another website. This is quite handy for video's but it does carry the risk that this figure/gif/video will no longer be visible if the location is changed. So it is better to add the source directly to the book.
````{tab-set}
```{tab-item} Linking
`````{tab-set}
````{tab-item} Linking
Hello
```
```{tab-item} Embedding
````
````{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`.
@ -20,7 +20,7 @@ Hello
5. Copy this syntax
```md
```python
```{figure} figures/<new_figure>.PNG
---
@ -46,6 +46,6 @@ Make sure the file extension of your figure is correct because markdown differen
9. Do you see your change? If you don't see it click `CTRL`+`F5`/`Control`+`F5`to refresh the page.
```
````
`````