Nil Packet Minimizer

    markdown-it-ruby

    0.1.1 • Public • Published

    markdown-it-ruby

    NPM version

    Ruby annotations (<ruby>) tag plugin for markdown-it markdown parser.

    {ruby base|ruby text} => <ruby>ruby base<rt>ruby text</rt></ruby>

    Markup is based on DenDenMarkdown definition.

    Install

    node.js:

    npm install markdown-it-ruby --save

    Use

    var md = require('markdown-it')()
                .use(require('markdown-it-ruby'));
     
    md.render('{ruby base|rubytext}') // => '<p><ruby>ruby base<rt>ruby text</rt></ruby></p>'

    License

    MIT

    Install

    npm i markdown-it-ruby

    DownloadsWeekly Downloads

    541

    Version

    0.1.1

    License

    MIT

    Last publish

    Collaborators

    • lost_and_found