markdown-it-plus-image
v1.0.2
Published
ThnkSNS Plus image syntax plugin for markdown-it markdown parser.
Downloads
10
Maintainers
Readme
markdown-it-plus-image
ThnkSNS Plus image syntax plugin for markdown-it markdown parser.
Required markdown-it
>= 8.4
.
Syntax is @![title](id)
tag.
Install
npm, yarn
npm install markdown-it-plus-image --save
yarn add markdown-it-plus-image
Use
import markdownIt from 'markdown-it';
import plusImageSyntax from 'markdown-it-plus-image';
const md = markdownIt().use(plusImageSyntax);
md.render(/* ... */);