Skip to main content

mark_plugin

FunctionSource

mark_plugin(md: MarkdownIt)

Simple plugin: replace ==text== with <mark>text</mark> using regex.

Arguments​

Requires​

NameTypeRequired
Description
mdMarkdownItThe markdown-it handle where the plugin will be injected.