https://github.com/relaxedjs/relaxed-citationjs
Citation.js bibliography plugin for ReLaXed
https://github.com/relaxedjs/relaxed-citationjs
Last synced: 8 months ago
JSON representation
Citation.js bibliography plugin for ReLaXed
- Host: GitHub
- URL: https://github.com/relaxedjs/relaxed-citationjs
- Owner: RelaxedJS
- Created: 2018-10-16T14:01:45.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-01-31T23:55:24.000Z (almost 7 years ago)
- Last Synced: 2025-03-26T08:23:14.272Z (9 months ago)
- Language: JavaScript
- Size: 14.6 KB
- Stars: 4
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# relaxed-citationjs
This ReLaXed plugin provides utilities to create bibliographies in ReLaXed
using [``citation-js``](https://citation.js.org/).
This plugin wraps code originally written by @Drew-S in the core ReLaXed project.
## Usage
Install with ``npm install -g relaxed-citationjs`` and add ``citationjs`` to the plugins of
your project's ``config.yml``:
```yaml
plugins:
- citationjs:
jpeg-quality: 90
```
Then use the ``+cite`` and ``+bibliography`` mixins in your document's Pug source:
```pug
p Refer to the great work in #[+cite('Q21972834', '23-25')] and #[+cite('Q21972835')].
+bibliography
```