Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pass `#+ATTR_*' tags to pandoc to allow resizing of images.
As per jgm/pandoc#1906 and jgm/pandoc#2927 pandoc now supports the use of `#+ATTR_HTML' tags to specify attributes (e.g., :width, :height) for images when exporting from org-mode documents. By default, `ox-pandoc' was parsing the document elements using `org-org-indentity' (inherited from the 'org export backend), which removes all #+ATTR_* tags from the output. This change puts them back in. NOTE: seems to be undocumented, but #+ATTR_* tags appear to be classed under the `paragraph' type in org-mode's export system.
- Loading branch information