markdown-it-vtrans

    1.0.1 • Public • Published

    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);

    Install

    npm i markdown-it-vtrans

    DownloadsWeekly Downloads

    1

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    35.3 kB

    Total Files

    5

    Last publish

    Collaborators

    • avatar