Skip to content

Commit

Permalink
update mermaid due to missing arrowheads
Browse files Browse the repository at this point in the history
  • Loading branch information
daiyam authored and Rokt33r committed Jul 20, 2020
1 parent 9616447 commit 0decaf1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions browser/components/render/MermaidRender.js
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 0decaf1

Please sign in to comment.