@mdit/plugin-mark
Plugins to mark and highlight contents.
Usage
TS
import MarkdownIt from "markdown-it";
import { mark } from "@mdit/plugin-mark";
const mdIt = MarkdownIt().use(mark);
mdIt.render("VuePress Theme Hope is ==powerful==.");
JS
const MarkdownIt = require("markdown-it");
const { mark } = require("@mdit/plugin-mark");
const mdIt = MarkdownIt().use(mark);
mdIt.render("VuePress Theme Hope is ==powerful==.");
Syntax
Use == ==
to mark.
Demo
Demo
VuePress Theme Hope is powerful.
VuePress Theme Hope is ==powerful==.