pelican-plugins / pandoc-reader

Pandoc Reader is a Pelican plugin that processes Markdown content via Pandoc
11 stars 3 forks source link

Fixed handling of multiple Pandoc defaults files #22

Closed nandac closed 1 year ago

nandac commented 2 years ago

@justinmayer I have made some much-awaited fixes to the pandoc reader plugin regarding the use of Pandoc defaults files.

This version of the plugin handles defaults files the way Pandoc handles them.

In the previous version, you had to specify the input and output format to Pandoc in each defaults file which is no longer necessary and is on par with Pandoc's way of doing things.

Due to a mistake in typing, I had called one of the new variables that this plugin defines as

PANDOC_DEFAULT_FILES instead of PANDOC_DEFAULTS_FILES.

This makes this change a breaking change and I think a major version upgrade is necessary.

I will prepare some release notes once this code is reviewed.

nandac commented 2 years ago

@justinmayer Can you please review this so that a new major version can be released?