Reputation: 319
I want to do the following thing:
Example of what I already tried:
I can convert it from markdown to html
pandoc --bibliography citations.json --citeproc infile.md -o outfile.html
This doesn't seem to work
pandoc --bibliography citations.json --citeproc infile.md -o outfile.md
There is a output markdown file, but it still contains the key, not the replacement. Is there a more elegant solution than markdown-html-markdown?
Upvotes: 4
Views: 1365
Reputation: 325
This question has been answered elsewhere. The solution is to use -t markdown-citations
, which means markdown MINUS citations.
From the original Pandoc documentation:
Extensions can be individually enabled or disabled by appending +EXTENSION or -EXTENSION to the format name. See Extensions below, for a list of extensions and their names. See --list-input-formats and --list-extensions, below.
Upvotes: 3