serea-eleventy-plugin
v0.0.2
Published
Charts, diagrams and graphs for markdown - eleventy plugin
Downloads
4
Maintainers
Readme
serea-eleventy-plugin
Create serea charts, diagrams and graphs in your markdown for the 11ty site generator.
Usage
npm install serea-eleventy-plugin
in your .eleventy.js
config file:
const sereaPlugin = require("serea-eleventy-plugin");
module.exports = function (eleventyConfig) {
eleventyConfig.addPlugin(sereaPlugin);
};
in your markdown file:
# A line chart
\`\`\`line-chart Fruit,Amount Apples,28 Blackberries,55 Cherries,43 Dates,91
\`\`\`
available "languages":
area-chart
bar-chart
flow-chart
gantt-chart
line-chart
pie-chart
sequence-diagram
sheet-music
multi-line-chart
stacked-bar-chart