| 97 | * Plugin for math rendering (KaTeX) |
| 98 | */ |
| 99 | export interface MathPlugin { |
| 100 | /** |
| 101 | * Get CSS styles for math rendering (injected into head) |
| 102 | */ |
| 103 | getStyles?: () => string; |
| 104 | name: "katex"; |
| 105 | /** |
| 106 | * Get rehype plugin for rendering math |
| 107 | */ |
| 108 | rehypePlugin: Pluggable; |
| 109 | /** |
| 110 | * Get remark plugin for parsing math syntax |
| 111 | */ |
| 112 | remarkPlugin: Pluggable; |
| 113 | type: "math"; |
| 114 | } |
| 115 | |
| 116 | /** |
| 117 | * Plugin for CJK text handling |
nothing calls this directly
no outgoing calls
no test coverage detected