Skip to content
A pandemic wrapper around it-figures for generating multi-panel figures prior to publishing with pandemic
JavaScript
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
README.md
index.js
package.json
yarn.lock

README.md

pandemic-it-figures

A pandemic wrapper around it-figures for generating multi-panel figures prior to publishing with pandemic

Usage

Install the package

npm i -g pandemic-it-figures

In the front matter of document, specify a list of .json files that contain the panel definitions. See the readme for it-figures for more information:

pandemic:
  figures: "panels.json"

or

pandemic:
  figures:
  - "panels.json"
  - "panels2.json"

In your pandemic recipe, specify this pandemic-mustache in your list of preprocessing hooks:

{
  "prehooks": [
    "pandemic-it-figures"
  ]
}

Changelog

0.1.1

  • Fix binary detection on Windows

0.1.0

  • Initial release
You can’t perform that action at this time.