markdown-preview-plus icon indicating copy to clipboard operation
markdown-preview-plus copied to clipboard

Support --citeproc in pandoc

Open pbsds opened this issue 4 years ago • 2 comments

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 avatar Aug 27 '21 15:08 pbsds

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

pbsds avatar Feb 23 '22 10:02 pbsds

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.

lierdakil avatar Mar 04 '22 09:03 lierdakil