|
| 1 | +<document source="metadata_multiple_image"> |
| 2 | + <section ids="formatting-code-outputs" names="formatting\ code\ outputs"> |
| 3 | + <title> |
| 4 | + Formatting code outputs |
| 5 | + <paragraph> |
| 6 | + This is a test case with multiple captioned and labelled images |
| 7 | + <container cell_index="1" cell_metadata="{'myst': {'figure': {'caption': 'Hey everyone its **party** time!\n', 'name': 'fun-fish'}, 'image': {'alt': 'fun-fish', 'classes': 'shadow bg-primary', 'width': '300px'}}}" classes="cell" exec_count="1" nb_element="cell_code"> |
| 8 | + <container classes="cell_input" nb_element="cell_code_source"> |
| 9 | + <literal_block language="ipython3" linenos="False" xml:space="preserve"> |
| 10 | + from IPython.display import Image |
| 11 | + |
| 12 | + Image("fun-fish.png") |
| 13 | + <container classes="cell_output" nb_element="cell_code_output"> |
| 14 | + <figure ids="fun-fish" names="fun-fish"> |
| 15 | + <image alt="fun-fish" candidates="{'*': '_build/jupyter_execute/3eacaf6adad1a4305807616181bbee897bb29177e79e2092ddd0264b848ddb4e.png'}" classes="shadow bg-primary" uri="_build/jupyter_execute/3eacaf6adad1a4305807616181bbee897bb29177e79e2092ddd0264b848ddb4e.png" width="300px"> |
| 16 | + <caption> |
| 17 | + Hey everyone its |
| 18 | + <strong> |
| 19 | + party |
| 20 | + time! |
| 21 | + <paragraph> |
| 22 | + Link: |
| 23 | + <reference internal="True" refid="fun-fish"> |
| 24 | + <inline classes="std std-ref"> |
| 25 | + swim to the fish |
| 26 | + <paragraph> |
| 27 | + Adding another party fish image to test for multiple images |
| 28 | + <container cell_index="4" cell_metadata="{'myst': {'figure': {'caption': 'Hey everyone its **party** time again!\n', 'name': 'fun-fish2'}, 'image': {'alt': 'fun-fish2', 'classes': 'shadow bg-primary', 'width': '200px'}}}" classes="cell" exec_count="2" nb_element="cell_code"> |
| 29 | + <container classes="cell_input" nb_element="cell_code_source"> |
| 30 | + <literal_block language="ipython3" linenos="False" xml:space="preserve"> |
| 31 | + from IPython.display import Image |
| 32 | + |
| 33 | + Image("fun-fish.png") |
| 34 | + <container classes="cell_output" nb_element="cell_code_output"> |
| 35 | + <figure ids="fun-fish2" names="fun-fish2"> |
| 36 | + <image alt="fun-fish2" candidates="{'*': '_build/jupyter_execute/3eacaf6adad1a4305807616181bbee897bb29177e79e2092ddd0264b848ddb4e.png'}" classes="shadow bg-primary" uri="_build/jupyter_execute/3eacaf6adad1a4305807616181bbee897bb29177e79e2092ddd0264b848ddb4e.png" width="200px"> |
| 37 | + <caption> |
| 38 | + Hey everyone its |
| 39 | + <strong> |
| 40 | + party |
| 41 | + time again! |
| 42 | + <paragraph> |
| 43 | + Link: |
| 44 | + <reference internal="True" refid="fun-fish"> |
| 45 | + <inline classes="std std-ref"> |
| 46 | + swim to the fish |
| 47 | + <paragraph> |
| 48 | + Link: |
| 49 | + <reference internal="True" refid="fun-fish2"> |
| 50 | + <inline classes="std std-ref"> |
| 51 | + swim to the fish again |
0 commit comments