@comtext/markdown-it-underline

0.1.0 • Public • Published

Underline plugin for markdown-it

This plagen parses markdown and replaces _ to HTML-tag span.

from

this test is _underline_

to

this test is <span class="md-it-underline">underline</span>

Installation

With Yarn:

yarn add -D @comtext/markdown-it-underline

With npm

npm i @comtext/markdown-it-underline

Using

const md = require("markdown-it")();
const mk = require("@comtext/markdown-it-underline");

md.use(mk);

var result = md.render("this test is _underline_");

/@comtext/markdown-it-underline/

    Package Sidebar

    Install

    npm i @comtext/markdown-it-underline

    Weekly Downloads

    0

    Version

    0.1.0

    License

    MIT

    Unpacked Size

    1.72 kB

    Total Files

    4

    Last publish

    Collaborators

    • kverde