felipeangelimvieira / remark-bibliography-html

A remark plugin for citations

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Remark bibliography html

A remark plugin that transforms bibtex entry into a html list and citations into anchor tags.

👷 ⚠️ This plugin will be updated soon :)

Usage

  1. In your markdown yaml header, set bibliography : posts/example/bibliography.bib

  2. Cite using @ref{youreferenceid}.

Example

This

---
title: titulo
author: autor
bibliography: __tests__/data/bibliography.bib
---

# This is the first header

Some text, lorem ipsum. I can cite @ref{ledoit2004honey} and others.

will be translated to:

---
title: titulo
author: autor
bibliography: __tests__/data/bibliography.bib
---

# This is the first header

Some text, lorem ipsum. I can cite <span class="citation" data-cites="ledoit2004honey">
    <a href="ref-ledoit2004honey">Ledoit & Wolf, 2004</a>
    </span> and others.

<div id="references">

<li id="ref-ledoit2004honey" class="csl-entry"> Ledoit, O., & Wolf, M. (2004). Honey, I shrunk the sample covariance matrix. The Journal of Portfolio Management, 30(4), 110–119.
</li>

<li id="ref-lillicrap2015continuous" class="csl-entry"> Lillicrap, T. P., Hunt, J. J., Pritzel, A., Heess, N., Erez, T., Tassa, Y., Silver, D., & Wierstra, D. (2015). Continuous control with deep reinforcement learning. ArXiv Preprint ArXiv:1509.02971.
</li>

</div>

Contribute

Feel free to contribute and submit pull requests.

About

A remark plugin for citations

License:MIT License


Languages

Language:JavaScript 90.9%Language:TeX 9.1%