Is there an equivalent of #+attr_html: :width 500px for Markdown format ?

1 Answer 1


The markdown exporter doesn't appear to export image sizes defined by #+attr_html: or #+attr_org: (the ox-gfm exporter doesn't either)

so, you could either include raw html in the org file, which does get exported...

#+html: <img src="img/test.png" width="600px">

or if you have pandoc installed, you can use it as an external process to convert from org to markdown. The conversion will include image properties defined in the #+attr_org: lines...

pandoc -i test.org -o test.md


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.