server auth
This commit is contained in:
@@ -10,7 +10,9 @@
|
||||
pre.replaceWith(container);
|
||||
});
|
||||
mermaid.initialize({ startOnLoad: false });
|
||||
mermaid.run({ querySelector: ".mermaid" });
|
||||
mermaid.run({ querySelector: ".mermaid:not([data-processed])" }).catch(function (error) {
|
||||
console.warn("Mermaid render failed:", error);
|
||||
});
|
||||
}
|
||||
|
||||
function renderMath() {
|
||||
@@ -66,8 +68,8 @@
|
||||
}
|
||||
|
||||
function init() {
|
||||
renderMermaid();
|
||||
renderMath();
|
||||
renderMermaid();
|
||||
}
|
||||
|
||||
window.renderMermaid = renderMermaid;
|
||||
|
||||
Reference in New Issue
Block a user