0.1.0 • Published 2 years ago

@comtext/markdown-it-underline v0.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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_");
0.1.0

2 years ago