ChatMathModule
The part of KaTeX the math view uses.
import type { ChatMathModule } from '@threadplane/angular/chat/math';Declaration
export interface ChatMathModule {
renderToString(latex: string, options: {
displayMode: boolean;
throwOnError: boolean;
}): string;
}Members
renderToString · overload 1
renderToString(latex: string, options: {
displayMode: boolean;
throwOnError: boolean;
}): string;Parameters
latex· requiredstringoptions· required{ displayMode: boolean; throwOnError: boolean; }
Returns
string