When using nbconvert from the command line, I use --to markdown
and it automatically creates a folder of any cell output as .png images.
How can i get this same behaviour when using as a library (MarkdownExporter
)?
I see that there is a list of images in resources[‘output’] but am not sure how I can write these to a .png file and get them working (encoding?). However I’m hoping worrying about this is unnecessary, if I can find an equivalent to the command line behaviour.