@mdit/plugin-sup
Plugin to support superscript.
Usage
import { sup } from "@mdit/plugin-sup";
import MarkdownIt from "markdown-it";
const mdIt = new MarkdownIt().use(sup);
mdIt.render("19^th^");Syntax
Use ^ ^ to mark the superscript.
Escaping
You can use
\to escape^:19\^th^will be
19^th^
Demo
19^th^: 19th
See the comparison report for the full upstream comparison.