Exporting to PDF with images included by relative path #14790
Unanswered
JavadocMD
asked this question in
Questions and Answers
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Sometimes I want to display images in the markdown content of a Notebook, as in:
![My Image](./img/my-image.png)
-- note the relative path.This displays fine in the Code viewer, but fails and raises an error when exporting to PDF -- seemingly because it's working with files in a temp directory where my relative path does not resolve. The tell-tale error is:
I can work around this by supplying an absolute path, but this is of course not ideal for a team project. Is there a way to get relative image includes to work seamlessly when exporting to PDF?
Beta Was this translation helpful? Give feedback.
All reactions