Skip to content

pantoken-root / renderers/rehype/src / RehypeOptions

Interface: RehypeOptions ​

Experimental

Options for rehypePantokenIcons.

Properties ​

resolve? ​

optional resolve?: IconResolver

Experimental

An explicit resolver, tried before the built-in pantoken icon set.


plugins? ​

optional plugins?: readonly PantokenPlugin[]

Experimental

Plugins whose rehype hooks contribute resolvers (tried last, after the built-in set).


className? ​

optional className?: string

Experimental

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