1.0.3 • Published 6 years ago
eleventy-charts v1.0.3
eleventy-charts
An eleventy plugin to create charts
Usage
npm install eleventy-charts --save-devIn your .eleventy.js-file:
const charts = require('eleventy-charts')
module.exports = function(eleventyConfig) {
eleventyConfig.addPlugin(charts)
}In your markdown, use codeblocks with one of the following languages:
area-chartbar-chartline-chartmultiline-chartpie-chartvega-litevegavegalite
vega and vegalite are json objects.
The others are csv with options set as front-matter.
See the examples markdown and how they are rendered.