Myllaume / eleventy-plugin-citeproc

Use citeproc.js in Eleventy, to process citations and generate bibliographies for your Eleventy projects.
https://www.npmjs.com/package/eleventy-plugin-citeproc
3 stars 0 forks source link

Custom bibliography <div> class name #1

Closed Myllaume closed 1 year ago

Myllaume commented 1 year ago

We get csl-entry class by default :

<div class="csl-entry">...</div>

Need to add argument to bibliography filter as below to custom the class name of <div>.

<footer>
        {{ content | bibliography({ className: 'custom' }) | safe }}
</footer>

render

<footer>
        <div class="custom">...</div>
</footer>