Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use only for PDFs? #20

Open
NathanHazout opened this issue Nov 15, 2015 · 3 comments
Open

Use only for PDFs? #20

NathanHazout opened this issue Nov 15, 2015 · 3 comments

Comments

@NathanHazout
Copy link

I am having a hard time understanding the README.

But first thing I see is "First, it replaces the html generation for pandoc". What if I don't want to replace my entire HTML generation? I only want to use the plugin to generate a PDF copy of each file...

@fauno
Copy link
Owner

fauno commented Nov 15, 2015

if you change markdown: pandoc to markdown: some_other_parser on
your _config.yml it won't use pandoc as the html generator :)

http://endefensadelsl.org

@NathanHazout
Copy link
Author

But... if I use some other parser (recarpet), wouldn't it NOT build the PDF as well?

I want to use redcarpet for HTML, and your plugin for PDF. Is that possible?

@fauno
Copy link
Owner

fauno commented Nov 16, 2015

sorry, we wrote this a long time ago. there's two pandoc generators,
one for html (the JekyllPandocMultipleFormats class in
lib/jekyll-pandoc-multiple-formats.rb) and another one (PandocGenerator)
for the rest of formats. i don't recall right now how the
PandocGenerator class is activated... i would have to read jekyll's doc
on plugins.

could you try and let me know? :)

http://fauno.endefensadelsl.org

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants