markdown-it-vtrans
v1.0.1
Published
Markdown-it plugin for supporting indic scripts via ITRANS.
Downloads
6
Maintainers
Readme
markdown-it-vtrans
Markdown-it plugin for supporting indic scripts via ITRANS.
For example:
::: vtrans devanagari
shri rAma rAmeti ||
:::
Gets converted to:
<div class="vtrans vtrans-devanagari">
<p> श्री राम रामेति ॥ </p>
</div>
Install
$ npm install markdown-it-vtrans --save
Usage
Enable plugin
var md = require('markdown-it');
var vtrans = require('markdown-it-vtrans');
md().use(vtrans);