Skip to content

pantoken-root / rehype

rehype ​

Compatibility ​

Target: rehype. Current format: HAST + raw SVG. Minimum host version: 13.0.0. Tested through 13.0.2. Newer releases require review.

Full compatibility matrix

실험적

@pantoken/rehype — :icon: 코드를 인라인 SVG로 렌더링합니다.

플러그인은 hast 텍스트 노드를 순회하며 :code: 토큰을 인라인 SVG 요소로 교체합니다, 각 코드는 다음 순서의 체인을 통해 해결됩니다: 먼저 플러그인 rehype 리졸버들, 그다음 명시적인 resolve, 마지막으로 내장된 @pantoken/icons 세트. 그것은 rehype-instui-markdown을(를) 공유 아이콘 매니페스트로 이전합니다.

인터페이스 ​

함수 ​

참조 ​

default ​

이름을 변경하고 rehypePantokenIcons을(를) 재내보냅니다.