Skip to content

pantoken / renderers/markdown-it/src / MarkdownItOptions

Interface: MarkdownItOptions

Experimental

Options for pantokenMarkdownIt.

Properties

resolve?

optional resolve?: IconResolver

Experimental

An explicit icon resolver, tried after plugin resolvers and before the built-in set.


plugins?

optional plugins?: readonly PantokenPlugin[]

Experimental

Plugins whose rehype hooks contribute icon resolvers (tried first).


iconClassName?

optional iconClassName?: string

Experimental

The class applied to the icon wrapper (default: pantoken-icon).


swatchClassName?

optional swatchClassName?: string

Experimental

The class applied to the color-swatch wrapper (default: pantoken-color-swatch).


icons?

optional icons?: boolean

Experimental

Render :icon: codes as inline SVG (default: true).


swatches?

optional swatches?: boolean

Experimental

Render standalone color values as swatches (default: true).