fix(katex): resolved legacyMathML config issues from previous merge

This commit is contained in:
NicolasNewman 2023-07-08 11:04:35 +09:00
parent 2cce8eebc3
commit 67cbdb41f7

View File

@ -122,6 +122,13 @@ export interface MermaidConfig {
*
*/
secure?: string[];
/**
* This option specifies if Mermaid can expect the dependent to include KaTeX stylesheets for browsers
* without their own MathML implementation. If this option is disabled and MathML is not supported, the math
* equations are replaced with a warning. If this option is enabled and MathML is not supported, Mermaid will
* fall back to legacy rendering for KaTeX.
*/
legacyMathML?: boolean;
/**
* This option controls if the generated ids of nodes in the SVG are
* generated randomly or based on a seed.