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 length #2

Open Myllaume opened 2 years ago

Myllaume commented 2 years ago

For this content, we get three paragraphs of bibliography.

Lorem [@jeanneret2005, 12 ; @ledeuff2014, 10] ipsum dolor est si amet [@goody1977, 12]

Need to add argument to bibliography filter as below to set up a maximum limit of bibliography length.

<footer>
        {{ content | bibliography({ maxLength: 2 }) | safe }}
</footer>