acrylamid icon indicating copy to clipboard operation
acrylamid copied to clipboard

How to pass parameters to pandoc filter

Open ghost opened this issue 8 years ago • 4 comments

Hi,

How can I pass pandoc --from markdown --to html --mathjax --biblio mybiblio.bib to acrylamid pandoc filter. It seems, for example, that:

FILTERS = ['pandoc+Markdown+mathjax', 'hyphenate', 'h1']

does not display correctly math because it does not include MathJax CDN...

ghost avatar Aug 27 '15 15:08 ghost

There are two kind of parameters in pandoc: ones which are passed with + in markdown (extensions) and regular arguments (with --). For example: pandoc --from markdown+definition_lists --mathml --to html5

What can I pass extensions (+ items in markdown) in acrylamid?

ghost avatar Aug 28 '15 08:08 ghost

Not possible, the pandoc "binding" is not really advanced and only supports the simples pandoc call (see pandoc.py)

posativ avatar Aug 28 '15 08:08 posativ

And I suppose it's also impossible to pass something like --biblio mybib.bi?

ghost avatar Aug 28 '15 09:08 ghost

Not possible.

posativ avatar Aug 28 '15 10:08 posativ