mirror of
https://github.com/TeachBooks/template.git
synced 2026-11-12 22:25:52 +00:00
Update 008.md
This commit is contained in:
parent
6f407ddebe
commit
0a9b850a64
1 changed files with 15 additions and 5 deletions
|
|
@ -16,7 +16,8 @@ name: my_linked_video
|
|||
---
|
||||
<caption>
|
||||
```
|
||||
```
|
||||
``` -->
|
||||
|
||||
For example, the above code cell, will result in the following video.
|
||||
|
||||
```{iframe} https://www.youtube.com/embed/x2eonqw5M6o
|
||||
|
|
@ -26,11 +27,11 @@ align: center
|
|||
name: my_linked_video
|
||||
---
|
||||
<caption>
|
||||
``` -->
|
||||
```
|
||||
|
||||
To link and display an online figure, you can use the `{figure}` directive, which also allows captions and references.
|
||||
|
||||
```md
|
||||
<!-- ```md
|
||||
```{figure} https://town-n-country-living.com/wp-content/uploads/2023/06/craftsman-exterior.jpg
|
||||
---
|
||||
width: 80%
|
||||
|
|
@ -39,7 +40,7 @@ name: my_linked_figure
|
|||
---
|
||||
<caption>
|
||||
```
|
||||
```
|
||||
``` -->
|
||||
|
||||
```{figure} https://town-n-country-living.com/wp-content/uploads/2023/06/craftsman-exterior.jpg
|
||||
---
|
||||
|
|
@ -63,7 +64,7 @@ name: my_linked_figure
|
|||
|
||||
5. Copy this syntax and adjust the file name, width, alignment and caption.
|
||||
|
||||
```md
|
||||
<!-- ```md
|
||||
```{figure} figures/<new_figure>.PNG
|
||||
---
|
||||
width: 80%
|
||||
|
|
@ -72,6 +73,15 @@ name: my_new_figure
|
|||
---
|
||||
<caption>
|
||||
```
|
||||
``` -->
|
||||
|
||||
```{figure} figures/<new_figure>.PNG
|
||||
---
|
||||
width: 80%
|
||||
align: center
|
||||
name: my_new_figure
|
||||
---
|
||||
<caption>
|
||||
```
|
||||
|
||||
```{Warning}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue