Closed akashpal-21 closed 4 months ago
@akashpal-21 Thanks for the heads up! As of version 7.11.0, pandoc
now runs in the directory containing the target item, and a test has been added confirming that images are embedded when using the pandoc --embed-resources
or deprecated --self-contained
options. By default, export
does not embed the images. I can consider making --embed-resources
/ --self-contained
the default if it makes sense.
Thanks for fixing it, although I won't be able to take benefit of it currently - I have moved to using Emacs to keep my notes as vim didn't fit my need and once it was done I found myself not wanting to use the md format too;
nb export [item] [path]
fails to render resources (images) because pandoc is initiated from current bash working dir! if I cd into $notebook and run the command it exports correctly.Would it be possible to make
nb export
directory agnostic like the rest of the commands?