{"id":15208955,"url":"https://github.com/savjee/eleventy-plugin-bibtex","last_synced_at":"2025-10-29T12:31:42.083Z","repository":{"id":57222317,"uuid":"368780220","full_name":"Savjee/eleventy-plugin-bibtex","owner":"Savjee","description":"Converts Bibtex references to APA notation in HTML","archived":false,"fork":false,"pushed_at":"2024-09-20T11:28:35.000Z","size":32,"stargazers_count":5,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-14T09:42:43.861Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Savjee.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-05-19T07:25:25.000Z","updated_at":"2024-01-06T15:06:26.000Z","dependencies_parsed_at":"2024-10-30T02:53:51.508Z","dependency_job_id":null,"html_url":"https://github.com/Savjee/eleventy-plugin-bibtex","commit_stats":{"total_commits":3,"total_committers":2,"mean_commits":1.5,"dds":"0.33333333333333337","last_synced_commit":"0e23ba96a5ca95b4a15aa5a48d883a3ea21a0b36"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Savjee%2Feleventy-plugin-bibtex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Savjee%2Feleventy-plugin-bibtex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Savjee%2Feleventy-plugin-bibtex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Savjee%2Feleventy-plugin-bibtex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Savjee","download_url":"https://codeload.github.com/Savjee/eleventy-plugin-bibtex/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238825759,"owners_count":19537120,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-09-28T07:05:05.257Z","updated_at":"2025-10-29T12:31:41.684Z","avatar_url":"https://github.com/Savjee.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# eleventy-plugin-bibtex\n\nConverts Bibtex references to APA notation in HTML\n\n## Installation\nInstall with npm:\n\n```\nnpm install --save-dev eleventy-plugin-bibtex\n```\n\n## Eleventy configuration\nAdd to your `.eleventy.js` config file (depending on the template language you use).\n\n**Liquid**\n```js\neleventyConfig.addPairedShortcode(\n  \"bibtex\", \n  require('eleventy-plugin-bibtex')\n);\n```\n\n**Nunjucks**\n```js\neleventyConfig.addPairedAsyncShortcode(\n    \"bibtex\",\n    require(\"eleventy-plugin-bibtex\")\n);\n```\n\n## Usage\nIn Liquid:\n\n```liquid\n{% bibtex %}\n@article{kocher2018spectre,\n  title={Spectre Attacks: Exploiting Speculative Execution},\n  author={Kocher, Paul and Genkin, Daniel and Gruss, Daniel and Haas, Werner and Hamburg, Mike and Lipp, Moritz and Mangard, Stefan and Prescher, Thomas and Schwarz, Michael and Yarom, Yuval},\n  journal={arXiv preprint arXiv:1801.01203},\n  year={2018},\n  url={https://arxiv.org/pdf/1801.01203},\n}\n{% endbibtex %}\n```\n\nWill output:\n\n```html\n\u003cdiv data-csl-entry-id=\"2\" class=\"csl-entry\"\u003eKocher, P., Genkin, D., Gruss, D., Haas, W., Hamburg, M., Lipp, M., Mangard, S., Prescher, T., Schwarz, M., \u0026amp; Yarom, Y. (2018). Spectre Attacks: Exploiting Speculative Execution. \u003ci\u003eArXiv Preprint ArXiv:1801.01203\u003c/i\u003e. \u003ca href=\"https://arxiv.org/pdf/1801.01203\" class=\"no-underline no-underline-url\" target=\"_blank\" rel=\"noopener noreferrer\"\u003ehttps://arxiv.org/pdf/1801.01203\u003c/a\u003e\u003c/div\u003e\n```\n\n## Notes\n\n* If the output APA contains URLs, it will create actual `a hrefs` for them using [Autolinker.js](https://github.com/gregjacobs/Autolinker.js).\n\n* Bibtex requires unique IDs for all citations. This plugin does not require that, so be aware of possible duplicates.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsavjee%2Feleventy-plugin-bibtex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsavjee%2Feleventy-plugin-bibtex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsavjee%2Feleventy-plugin-bibtex/lists"}