Add support for styles when exporting
Some export formats will need extra handling so that paragraph styles from the input data are carried through to the output.
This will probably involve creating a temporary template file (
.tex, etc) containing the styles, for pandoc to write the content into.
For HTML it should be possible to generate a CSS file containing all the styles that are needed.