mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-12 17:26:17 +00:00
update mermaid due to missing arrowheads
This commit is contained in:
committed by
Junyoung Choi
parent
961644747e
commit
0decaf187c
@@ -1,4 +1,4 @@
|
||||
import mermaidAPI from 'mermaid'
|
||||
import mermaidAPI from 'mermaid/dist/mermaid.min.js'
|
||||
import uiThemes from 'browser/lib/ui-themes'
|
||||
|
||||
// fixes bad styling in the mermaid dark theme
|
||||
@@ -61,7 +61,6 @@ function render(element, content, theme, enableHTMLLabel) {
|
||||
|
||||
el.setAttribute('ratio', ratio)
|
||||
el.setAttribute('height', el.parentNode.clientWidth / ratio)
|
||||
console.log(el)
|
||||
}
|
||||
})
|
||||
} catch (e) {
|
||||
|
||||
@@ -95,7 +95,7 @@
|
||||
"markdown-it-sup": "^1.0.0",
|
||||
"markdown-toc": "^1.2.0",
|
||||
"mdurl": "^1.0.1",
|
||||
"mermaid": "^8.4.2",
|
||||
"mermaid": "^8.5.2",
|
||||
"moment": "^2.10.3",
|
||||
"mousetrap": "^1.6.2",
|
||||
"mousetrap-global-bind": "^1.1.0",
|
||||
|
||||
Reference in New Issue
Block a user