mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-23 17:29:54 +02:00
fix(katex): resolved legacyMathML config issues from previous merge
This commit is contained in:
@@ -122,6 +122,13 @@ export interface MermaidConfig {
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
secure?: string[];
|
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
|
* This option controls if the generated ids of nodes in the SVG are
|
||||||
* generated randomly or based on a seed.
|
* generated randomly or based on a seed.
|
||||||
|
Reference in New Issue
Block a user