Skip to content

pantoken / renderers/markdown-it/src / MarkdownItOptions

인터페이스: MarkdownItOptions

실험적

pantokenMarkdownIt에 대한 옵션.

속성

resolve?

optional resolve?: IconResolver

실험적

플러그인 리졸버 다음이자 내장 세트 이전에 시도되는 명시적 아이콘 리졸버.


plugins?

optional plugins?: readonly PantokenPlugin[]

실험적

rehype 훅이 아이콘 리졸버를 제공하는 플러그인들 (먼저 시도됨).


iconClassName?

optional iconClassName?: string

실험적

아이콘 래퍼에 적용되는 클래스 (기본값: pantoken-icon).


swatchClassName?

optional swatchClassName?: string

실험적

컬러 스와치 래퍼에 적용되는 클래스 (기본값: pantoken-color-swatch).


icons?

optional icons?: boolean

실험적

:icon: 코드를 인라인 SVG로 렌더링 (기본값: true).


swatches?

optional swatches?: boolean

실험적

독립 색상 값을 스와치로 렌더링 (기본값: true).