pantoken / renderers/markdown-it/src / MarkdownItOptions
Interface: MarkdownItOptions
Experimental
Options for pantokenMarkdownIt.
Properties
resolve?
optionalresolve?:IconResolver
Experimental
An explicit icon resolver, tried after plugin resolvers and before the built-in set.
plugins?
optionalplugins?: readonlyPantokenPlugin[]
Experimental
Plugins whose rehype hooks contribute icon resolvers (tried first).
iconClassName?
optionaliconClassName?:string
Experimental
The class applied to the icon wrapper (default: pantoken-icon).
swatchClassName?
optionalswatchClassName?:string
Experimental
The class applied to the color-swatch wrapper (default: pantoken-color-swatch).
icons?
optionalicons?:boolean
Experimental
Render :icon: codes as inline SVG (default: true).
swatches?
optionalswatches?:boolean
Experimental
Render standalone color values as swatches (default: true).