-
Clone the repository and install required files
git clone --recursive https://github.com/frianasoa/citeproc-js.git git clone https://github.com/kotobuki/citeproc-js-based-replacer.git cd citeproc-js-based-replacer npm install cp ../citeproc-js/citeproc_commonjs.js ./node_modules/citeproc cp ../citeproc-js/cp ../citeproc-js/csl-files/*.csl . curl -OL https://raw.githubusercontent.com/citation-style-language/locales/6b0cb4689127a69852f48608b6d1a879900f418b/locales-en-US.xml curl -OL https://raw.githubusercontent.com/citation-style-language/locales/6b0cb4689127a69852f48608b6d1a879900f418b/locales-ja-JP.xml
-
Download the content of this git to the same directory
-
Build the document with pandoc
pandoc input.md -s --filter pandoc-crossref --filter=./citeproc-js-based-replacer.js -o output.md
テスト [^1]。
# 参考文献
Morgan, C. & Patrov, A. (2022=2023). 自由意志の哲学 Translated by 鈴木真紀. 東京: 城南大学出版会.
[^1]: (Morgan & Patrov, 2023, p. 42)