Skip to content
This repository has been archived by the owner on Jan 3, 2023. It is now read-only.

Support --citeproc in pandoc #530

Open
pbsds opened this issue Aug 27, 2021 · 2 comments
Open

Support --citeproc in pandoc #530

pbsds opened this issue Aug 27, 2021 · 2 comments

Comments

@pbsds
Copy link

pbsds commented Aug 27, 2021

pandoc-citeproc has been deprecated and removed in favor of the built-in flag --citeproc.
This option is to my knowledge currently not possible to pass in to pandoc in markdown-preview-plus.

Suggested fix:

Either perform a version detection on pandoc and use --citeproc or -F pandoc-citeproc accordingly, or simply add a new option to use --citeproc instead.

@pbsds
Copy link
Author

pbsds commented Feb 23, 2022

Current workaround:

# defaults.yaml, loaded with --defaults defaults.yaml
filters:
- type: citeproc

This has the side-effect of the preview not working if a defaults.yaml file is not present

@lierdakil
Copy link
Collaborator

This option is to my knowledge currently not possible to pass in to pandoc in markdown-preview-plus.

It is, manually via Commandline Arguments option. I'm not sure when I'll be able to get to this, but pull requests are always welcome.

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

No branches or pull requests

2 participants