Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Not able to add arguments to options? #5

Closed
cboettig opened this Issue · 2 comments

2 participants

Carl Boettiger David Sanson
Carl Boettiger

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).

David Sanson
Owner

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

Carl Boettiger
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.