markdown-it-beautiful-link
v0.0.3
Published
link plugin for markdown-it.
Maintainers
Readme
markdown-it-beautiful-link
My own plugin, may crash at any time. You can view the plugin effect at https://vitue-lite.web.app
interface MarkdownItBeautifulLinkOptions {
/**
* provide processing rules for different urls.
* @see https://github.com/naiheyoung/markdown-it-beautiful-link/blob/main/src/capturers.ts
*/
capturers: CapturersFactory
/**
* links that do not need to be processed.
*/
excludes: Array<string>
/**
* exclude links whose `class` attribute contains a specified value.
*
* This plugin will not process the data after other plugins have finished processing it.<br/>
* Therefore, some identification information from other plugins is needed.
*/
excludeHitAttrs: Array<string>
/**
* link `class`
*/
class: string
}