Images embedded in .ipynb files creating error
Jupyter notebooks allow copy/pasting images from the clipboard into markdown cells. These images (eg, using Snippy on Windows) are embedded in the .ipynb file as base64 images. Jupyterbooks errors out on such cells, and the build fails.
Does anyone know a workaround to this?
For example, the error would be [91mC:\Users\user\Google Drive\jupyter\mynewbook\03._Visualization_Basics.ipynb:10009: WARNING: image file not readable: attachment:5e81266f-de1a-4646-a45b-ce7efb2b90a8.png←[39;49;00m
That is because it probably is not able to extract 5e81266f-de1a-4646-a45b-ce7efb2b90a8.png from the .ipynb file, but is able to get the images for graphics generated by the code in the cells.
Thanks for opening your first issue here! Engagement like this is essential for open source projects! :hugs:
If you haven't done so already, check out EBP's Code of Conduct. Also, please try to follow the issue template as it helps other community members to contribute more effectively.
If your issue is a feature request, others may react to it, to raise its prominence (see Feature Voting).
Welcome to the EBP community! :tada:
I think that this one belongs in the MyST-NB repository rather than meta/, though not positive. I'm not sure whether we support embedded base64 images or not, though should confirm this one way or another.
I experienced the same issue and wrote a detailed bug report https://github.com/executablebooks/MyST-NB/issues/492 here. I just discovered this issue ticket after creating the new one, so one can be closed as a duplicate.