2.0.0 • Published 4 years ago

remark-plantuml-link v2.0.0

Weekly downloads
5
License
MIT
Repository
github
Last release
4 years ago

remark-plantuml-link

Generate a plantuml image link from text

Install

npm install --save-dev remark-plantuml-link

Usage

const remark = require('remark');
const plantumlLink = require('remark-plantuml-link');
const input = '<!-- ```plantuml\n(A)\n``` -->';
const output = remark().use(plantumlLink).processSync(input).toString();

Input:

<!-- ```plantuml
(A)
``` -->

Output:

<!-- ```plantuml
(A)
``` -->

![](http://www.plantuml.com/plantuml/png/qt3K1000)

Similar Projects

License

MIT