Rehype Citation

Markdown text

## Welcome Rehype plugin to nicely format citations in markdown documents and insert bibliography in html format. - Supports standard citations [@Nash1950{pp. iv, vi-xi, (xv)-(xvii)}]; - in-text citations, @Nash1951 [p. 33] says blah; - multiple citations [see @Nash1950 pp 12-13; @Nash1951]; - multiple sources [@10.5281/zenodo.1234] Customizable CSL and locale. Bibtex, BibJSON, and CFF files are supported. `options.biliography` can either be a string or an array with multiple sources. ### Bibliography

Settings

{ "bibliography": [ "https://raw.githubusercontent.com/timlrx/rehype-citation/main/test/references-data.bib", "https://raw.githubusercontent.com/timlrx/rehype-citation/main/test/CITATION.cff" ] }

Result

Welcome

Rehype plugin to nicely format citations in markdown documents and insert bibliography in html format.

  • Supports standard citations (Nash, 1950, pp. iv, vi–xi, (xv)-(xvii));
  • in-text citations, Nash (1951, p. 33) says blah;
  • multiple citations (see Nash, 1950, 1951);
  • multiple sources (Lisa & Bot, 2017)

Customizable CSL and locale. Bibtex, BibJSON, and CFF files are supported.

options.biliography can either be a string or an array with multiple sources.

Bibliography

Lisa, M., & Bot, H. (2017). My Research Software (2.0.4). https://doi.org/10.5281/zenodo.1234
Nash, J. (1950). Equilibrium points in n-person games. Proceedings of the National Academy of Sciences, 36(1), 48–49.
Nash, J. (1951). Non-cooperative games. Annals of Mathematics, 286–295.