Update 008.md

This commit is contained in:
Julie Kirsch 2025-03-03 22:34:14 +01:00
parent 6f407ddebe
commit 0a9b850a64

View file

@ -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}