@quartz-community/citations
v0.1.0
Published
Citations and bibliography transformer plugin for Quartz
Readme
@quartz-community/citations
Adds academic citation support using a BibTeX bibliography file and configurable citation styles.
Installation
npx quartz plugin add github:quartz-community/citationsUsage
plugins:
- source: github:quartz-community/citations
enabled: true
options:
bibliographyFile: "./bibliography.bib"
csl: apaFor advanced use cases, you can override in TypeScript:
import * as ExternalPlugin from "./.quartz/plugins";
ExternalPlugin.Citations({
bibliographyFile: "./bibliography.bib",
csl: "apa",
});Configuration
| Option | Type | Default | Description |
| ---------------------- | --------- | ---------------------- | ------------------------------------------------------------ |
| bibliographyFile | string | "./bibliography.bib" | The path to the BibTeX bibliography file. |
| suppressBibliography | boolean | false | Whether to suppress the bibliography at the end of the page. |
| linkCitations | boolean | false | Whether to link citations to the bibliography. |
| csl | string | "apa" | The CSL style to use for citations. |
Documentation
See the Quartz documentation for more information.
License
MIT
