Commit 552217b 1 parent a12987c commit 552217b Copy full SHA for 552217b
File tree 2 files changed +3
-4
lines changed
2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 150
150
"markdown-it" : " ^13.0.2" ,
151
151
"markdown-it-container" : " ^3.0.0" ,
152
152
"markdown-it-emoji" : " ^2.0.0" ,
153
- "mermaid" : " 10.9.1 " ,
153
+ "mermaid" : " 11.3.0 " ,
154
154
"mime-types" : " ^2.1.35" ,
155
155
"mobx" : " ^4.15.4" ,
156
156
"mobx-react" : " ^6.3.1" ,
Original file line number Diff line number Diff line change @@ -421,8 +421,7 @@ export class ProsemirrorHelper {
421
421
// Render the Prosemirror document using virtual DOM and serialize the
422
422
// result to a string
423
423
const dom = new JSDOM (
424
- `<!DOCTYPE html>${
425
- options ?. includeStyles === false ? "" : styleTags
424
+ `<!DOCTYPE html>${ options ?. includeStyles === false ? "" : styleTags
426
425
} ${ html } `
427
426
) ;
428
427
const doc = dom . window . document ;
@@ -471,7 +470,7 @@ export class ProsemirrorHelper {
471
470
// Inject Mermaid script
472
471
if ( mermaidElements . length ) {
473
472
element . innerHTML = `
474
- import mermaid from 'https://cdn.jsdelivr.net/npm/mermaid@10 /dist/mermaid.esm.min.mjs';
473
+ import mermaid from 'https://cdn.jsdelivr.net/npm/mermaid@11 /dist/mermaid.esm.min.mjs';
475
474
mermaid.initialize({
476
475
startOnLoad: true,
477
476
fontFamily: "inherit",
You can’t perform that action at this time.
0 commit comments