-
Notifications
You must be signed in to change notification settings - Fork 572
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Attached image not exported if referenced from <img> tag #1057
Comments
Same issue here. I usually use |
I solved it by adding the images in the correct path (relative to my |
Yes it likely is related. The way attachments got implemented in notebooks was fairly organic and this caused some difficult-to-fix issues for exporting to other formats. @xiaohk is the best work-around for now until that code path gets cleaned up (likely a 6.0 feature). |
I tried a lot of workarounds too, and eventually ended up with the same thing that @xiaohk described. |
@xiaohk Does it apply to my situation, where I have a MarkDown cell with an attached image, shown via MarkDown syntax (not an HTML I also tried |
Also the jupyter lab File->Print functionality is affected by this issue. |
I ended up doing |
Often I need to resize images which I have inserted quick&easy with drag&drop to a notebook.
GitHub can render notebooks with such elements, but nbconvert does not support it. An export of the notebook to PDF or HTML fails. |
Any update? |
I know of #699. Nevertheless I find it confusing because I can easily export to html or reveal.js and the images are there as far as I reference them using
![]()
syntax. Now, as this is very limited in terms of formatting, many times I need to use an<img>
tag instead, and then the attachments aren't exported to the output.Nbconvert version: 5.5.0
The text was updated successfully, but these errors were encountered: