@comtext/markdown-it-underline
v0.3.0
Published
Underline plugin for markdown-it markdown parser.
Downloads
15
Maintainers
Readme
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-underlineWith npm
npm i @comtext/markdown-it-underlineUsing
const md = require("markdown-it")();
const mk = require("@comtext/markdown-it-underline");
md.use(mk);
var result = md.render("this test is _underline_");CSS
Example CSS
.md-it-underline {
text-decoration: underline;
}