Skip to main content
The Deno 2 Release Candidate is here
Learn more

markdown_it_ib

deno.land License

A markdown-it plugin to use * for <i> and ** for <b> in your Markdown documents, along with the conventional _ for <em> and __ for <strong>.

Example input:

*A* **B** _C_ __D__

Output:

<p><i>A</i> <b>B</b> <em>C</em> <strong>D</strong></p>

❌ Deprecated

The dedicated Deno version of this module is deprecated and will not receive any updates anymore. Please use the following instead:

import markdownItIB from "npm:markdown-it-ib@VERSION";

Usage

import markdownIt from "npm:markdown-it";
import markdownItIB from "https://deno.land/x/markdown_it_ib@1.0.3/mod.js";

const md = markdownIt()
  .use(markdownItIB);

const output = md.render("*A* **B** _C_ __D__");
console.log(output);

See also