Panvimwiki reference_citation
creates reference links [#ref-name]: URL
instead of [#name]: URL
in markdown.
pandoc --citeproc --metadata='link-citations:true' \
--from=markdown+wikilinks_title_after_pipe-task_lists \
--standalone --wrap=auto \
--to=markdown-citations \
expand_citeproc.md | reference_citation > out/expand_citeproc-markdown.md
Pandoc produces the following markdown references:
::::: {#refs .references .csl-bib-body .hanging-indent entry-spacing="0"}
::: {#ref-bloggs-jones .csl-entry}
Bloggs, A. J., and X. Y. Jones. 1959. "Title Title Title Title Title
Title Title Title Title Title." *Journal Journal Journal*.
:::
::: {#ref-chomsky-73 .csl-entry}
Chomsky, N. 1973. "Conditions on Transformations." In *A Festschrift for
Morris Halle*, edited by S. R. Anderson and P. Kiparsky. New York: Holt,
Rinehart & Winston.
:::
:::::
The reference_citation
filter converts the pandoc output to:
[#ref-bloggs-jones]: Bloggs, A. J., and X. Y. Jones. 1959. "Title Title Title Title Title
Title Title Title Title Title." *Journal Journal Journal*.
[#ref-chomsky-73]: Chomsky, N. 1973. "Conditions on Transformations." In *A Festschrift for
Morris Halle*, edited by S. R. Anderson and P. Kiparsky. New York: Holt,
Rinehart & Winston.
The leading #
should not appear in ref-bloggs-jones
, etc.