Skip to content
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

Images in markdown are not displayed #16

Open
jontingvold opened this issue Sep 19, 2019 · 3 comments
Open

Images in markdown are not displayed #16

jontingvold opened this issue Sep 19, 2019 · 3 comments

Comments

@jontingvold
Copy link

jontingvold commented Sep 19, 2019

When you include images in the markdown text, they are not displayed in Nbviewer-app.

None of these methods work.

Image in same directory
![](curse-of-dim.png)

Attached image
![curse-of-dim.png](attachment:curse-of-dim.png)

Image with img tag
<img src="curse-of-dim.png">

Attached image with img tag
<img src="attachment:curse-of-dim.png">

See included file to reproduce the bug.
Bug - Images is not displayed in nbviewer-app.zip

@tuxu
Copy link
Owner

tuxu commented Sep 22, 2019

Thanks for your report! I don't have much time right now to work on the app, but this would be really nice to support. The only way to include images right now is to embed them in the notebook file as Base64-encoded strings.

@kinoute
Copy link

kinoute commented May 27, 2020

This problem is still here unfortunately.

@nacho4d
Copy link

nacho4d commented Jun 6, 2021

If we make all current resources (various js files) inlined and set resourceURL to be the same as the original file it looks like it will work in theory. This will not only images but any resource referred in the original ipynb file.

Screen Shot 2021-06-06 at 23 25 35

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants