Not able to add arguments to options? #5

Closed
cboettig opened this Issue Feb 13, 2013 · 2 comments

2 participants

@cboettig

It is unclear how to add arguments to options, eg, to generate something like this:

PandocRuby.convert('# Markdown Title', :s, {:template => :template.html}, :table_of_contents)

which is equivalent to
echo "# Markdown Title" | pandoc -s --template=template.html --table-of-contents

(I need the use of templates to work around the --self-contained option's behavior, but in general it makes sense to support all arguments).

@dsanson
Owner

There is an example in the comments on Issue #2 . But I should add that to the README. Thanks.

@cboettig
@dsanson dsanson closed this Feb 14, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment