UNPKG

rehype-katex-svelte

Version:

rehype plugin to transform .math-inline, .math-display with KaTeX to Svelte markup

6 lines (5 loc) 220 B
import type { Root } from "hast"; import type { Plugin } from "unified"; import type { KatexOptions } from "katex"; declare const rehypeKatexSvelte: Plugin<[KatexOptions?], Root, Root>; export default rehypeKatexSvelte;