lowercasename / docdown

A menu bar app to convert Markdown into academia-ready Word documents
GNU General Public License v3.0
94 stars 5 forks source link

Images #20

Closed lpburrows closed 3 years ago

lpburrows commented 4 years ago

Thanks so much for this really helpful tool! One issue for me: my dissertation has several images in it, which I have included in Ulysses and which come out looking fine when I export to Markdown alone, but which DocDown isn't rendering (though it is getting the captions). Any chance of adding image support? Thanks again!

jcransom commented 3 years ago

When exporting from Ulysses, only online images will directly work with DocDown. For local images, you need to add the image path as markdown – see https://pandoc.org/MANUAL.html#images. For example:

![This is the caption](/pathname/of/image.png)

lowercasename commented 3 years ago

Thanks, @jcransom. It's a side effect of the fact that Markdown was intended for conversion into/compatibility with HTML, I suppose - so all the file paths need to be absolute.