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>
$ npm install markdown-it-vtrans --save
var md = require('markdown-it');
var vtrans = require('markdown-it-vtrans');
md().use(vtrans);