mirror of
https://github.com/TeachBooks/template.git
synced 2026-11-12 22:25:52 +00:00
now?
This commit is contained in:
parent
fd0e1a131f
commit
cbdc2afeb2
1 changed files with 6 additions and 6 deletions
|
|
@ -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.
|
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-set}
|
||||||
```{tab-item} Linking
|
````{tab-item} Linking
|
||||||
|
|
||||||
Hello
|
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`.
|
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
|
5. Copy this syntax
|
||||||
|
|
||||||
```md
|
```python
|
||||||
|
|
||||||
```{figure} figures/<new_figure>.PNG
|
```{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.
|
9. Do you see your change? If you don't see it click `CTRL`+`F5`/`Control`+`F5`to refresh the page.
|
||||||
|
|
||||||
```
|
|
||||||
````
|
````
|
||||||
|
`````
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue