ipython-contrib / jupyter_contrib_nbextensions

A collection of various notebook extensions for Jupyter
http://jupyter-contrib-nbextensions.readthedocs.io/en/latest
Other
5.2k stars 805 forks source link

Export HTML with Embedded Images - all images look identical after export #1596

Open sdsawtelle opened 2 years ago

sdsawtelle commented 2 years ago

When using the extension Export HTML with Embedded Images on a notebook with multiple images attachments, my output HTML shows all images as identical (specifically, the same as the first attached image in the notebook).

I am embedding images in markdown cells by copy/pasting the image which generates markdown cell content ![image.png](attachment:image.png).

Then I edit the markdown cell and replace the content with something like

<div>
<img src="attachment:image.png" width="400"/>
</div>
<a href="https://arxiv.org/pdf/2003.03033.pdf"><center>image source</center></a>

I am using

jupyter==1.0.0
nbconvert==6.5.0
jupyter-contrib-nbextensions==0.5.1