fauno / jekyll-pandoc-multiple-formats

Use pandoc on jekyll to generate posts in multiple formats. Development has moved to https://0xacab.org/edsl/jekyll-pandoc-multiple-formats
https://endefensadelsl.org
Other
88 stars 28 forks source link

How to configure pandoc variants and additional extensions #28

Closed v1kn closed 7 years ago

v1kn commented 7 years ago

the example from README:

flags: '--smart'
site_flags: '--toc'

does not include

on the command line it is done like so:

pandoc -f markdown_github+footnoes+fenced_code_attributes

I'd like some advice on how to properly configure more advanced pandoc invocations inside _config.yml. Thank You

fauno commented 7 years ago
flags: '--smart'
site_flags: '--toc'

pandoc -f markdown_github+footnoes+fenced_code_attributes

hi! flags are strings, so you can put all of them between quotes, like this:

flags: '--smart -f markdown_github+footnoes+fenced_code_attributes'

-- :D

v1kn commented 7 years ago

That's straightforwad enough, Thank You.

Your gem is quite useful, You should publish it to rubygems.org for more discoverability ;)