ananelson / precipy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Means of providing a --reference-doc parameter to the pandoc filter

cameronneylon opened this issue · comments

Pandoc provides a means of creating editable documents like .docx .pptx .odp etc. This also has the capability of accepting a template document that can deliver quite good formating for output docs which are then editable.

To do this pandoc needs to receive the --reference-doc=FILE optional parameter. At the moment I've hardcoded it in the local version of precipy. Not clear to me whether actually have the template file be added to the cache makes sense and have some specially implemented option or better to pass it through via the filter_args argument.

Either way will try to do a pull request for the demos repo that shows that this can work.