markdown-it-pikchr
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

markdown-it-plugin-pikchr

Actions Status Actions Status

How to add Pikchr support to Markdown-It

Use markdown-it-pikchr as a regular plugin.

npm install markdown-it markdown-it-pikchr

Configure the markdown-it instance:

// node.js, "classic" way:
var pikchr = require('markdown-it-pikchr');
var MarkdownIt = require('markdown-it'),
    md = new MarkdownIt();
    md.use(pikchr);
var result = md.render(aMarkdownDocument);

Document including: pikchr arrow right 200% "Markdown" "Source" box rad 10px "Markdown" "Formatter" "(markdown.c)" fit arrow right 200% "HTML+SVG" "Output" arrow <-> down 70% from last box.s box same "Pikchr" "Formatter" "(pikchr.c)" fit


Code based on: https://github.com/christianvoigt/argdown/tree/master/packages/argdown-markdown-it-plugin

Package Sidebar

Install

npm i markdown-it-pikchr

Weekly Downloads

3

Version

0.0.2

License

MIT

Unpacked Size

29.1 kB

Total Files

15

Last publish

Collaborators

  • tenuki