pandoc-reference-filter
pandoc-reference-filter copied to clipboard
Allow for formatted captions.
- Works on LaTeX, html, html5, and markdown (though not well tested)
- ~~Does not work on docx: captions don't show up (though the image does)~~ Now works with .docx
This pull request conflicts with the short caption pull request I made previously (though the conflicts are easily resolved). As mentioned before, this is mostly a proof of concept rather than a well-tested (or even well-conceived) attempt. Suggestions for changes or even alternative approaches welcome.
I think this is a needed feature. One way to implement is to stop hard coding the figure output as Raw. This might be possible with the new Image attributes.