drivendataorg / drivendataorg/nbautoexport

Referencing images with markdown not carried over in output

Open
#73 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
87
Forks
10
PR merge metrics
No merged PRs in 30d

Description

* nbautoexport version: 0.3.1
* Python version: 3.8
* Operating System: Windows 10

I have a jupyter notebook and I have an image together in the same folder. I then inserted the image into the notebook using markdown i.e. `![png](image.png)`. This displays fine within the notebook.

When running nbautoexport to export the notebook to markdown the result is placed in a separate folder called _markdown_. However the path to the image stays the same which causes it to not be displayed. Is there a way to update the path such that it points to the original file?

There is a workaround which involves displaying the image using code. The image then does get copied over to the _markdown_ folder.

What is your preferred use? Should we not use markdown to insert images?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.