An open API service indexing awesome lists of open source software.

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

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

```