MCPcopy
hub / github.com/vercel/streamdown / MathPlugin

Interface MathPlugin

packages/streamdown/lib/plugin-types.ts:99–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97 * Plugin for math rendering (KaTeX)
98 */
99export 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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected