Skip to content

Commit 0decaf1

Browse files
daiyamRokt33r
authored andcommitted
update mermaid due to missing arrowheads
1 parent 9616447 commit 0decaf1

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

browser/components/render/MermaidRender.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import mermaidAPI from 'mermaid'
1+
import mermaidAPI from 'mermaid/dist/mermaid.min.js'
22
import uiThemes from 'browser/lib/ui-themes'
33

44
// fixes bad styling in the mermaid dark theme
@@ -61,7 +61,6 @@ function render(element, content, theme, enableHTMLLabel) {
6161

6262
el.setAttribute('ratio', ratio)
6363
el.setAttribute('height', el.parentNode.clientWidth / ratio)
64-
console.log(el)
6564
}
6665
})
6766
} catch (e) {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@
9595
"markdown-it-sup": "^1.0.0",
9696
"markdown-toc": "^1.2.0",
9797
"mdurl": "^1.0.1",
98-
"mermaid": "^8.4.2",
98+
"mermaid": "^8.5.2",
9999
"moment": "^2.10.3",
100100
"mousetrap": "^1.6.2",
101101
"mousetrap-global-bind": "^1.1.0",

0 commit comments

Comments
 (0)