-
Notifications
You must be signed in to change notification settings - Fork 19
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
Markdown image for valid image paths does not render #240
Comments
I've just run into this as well ( Does not render:
Does render (full URL)
Does render if image in same directory as notebook but does not align as expected :(
Does not render if image in a parent directory
But we have lots of notebooks with local paths in a github repository. It would be nice if this were supported so that the notebook appears in JupyterLab exactly as it does on a website, for example: |
@scottyhq can you confirm where the root directory of the Jupyter server is? I.e the path to the top-level directory in the jupyterlab file browser. The problem described above is a fundamental challenge that follows from Jupyter kernels using a different file system interface (kernel process) to the Jupyter frontend (E.g jupyterlab via Jupyter server). |
I'm closing this because I'm pretty sure this is due to user expectations rather than a bug in our code. I recognise that this can be confusing, and/or I might be wrong, so please do ping back here if you want to continue the conversation! <3 |
I'm not sure what the issue here is, but I've found that paths to valid images do not render properly with Markdown and I'm not sure why.
For example, below I show that an image exists by displaying it with
IPython.display.Image
, but show that it does not exist if I try to display the same image using markdown with jupyterlab-myst:This also doesn't work for relative paths:
The text was updated successfully, but these errors were encountered: