DCsunset / pandoc-include

A pandoc filter to allow file and header inclusion

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Any way to pass options to the executed pandoc?

ma10 opened this issue · comments

I execute pandoc with several options to controll the resulting format, etc.

So far, however, I haven't found any way to pass the same options to the executed pandoc via pandoc-include.

This will make some inconsistency in resulting files, between the including and the included files.

It would be extremely useful if I could list options to be passed to the child process in the header of files to be included, for example.

This feature has been added in v0.7.0.
You could use pandoc-options to specify the pandoc options for included files.

See https://github.com/DCsunset/pandoc-include#header-options

Ooop, I was looking at locally checked-out copy, which was not the latest.

This should be very useful!!

Thanks.

Feel free to open a new issue if you find some bugs in it.