1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 09:46:22 +00:00

- avoid logging to console, the error when the diagram syntax is bad

- fix line numbering of code blocks
This commit is contained in:
Baptiste Augrain
2018-09-15 18:33:02 +02:00
parent b03c2a1f80
commit 297c764fe1
3 changed files with 1 additions and 5 deletions

View File

@@ -35,7 +35,6 @@ function render (element, content, theme) {
element.innerHTML = svgGraph
})
} catch (e) {
console.error(e)
element.className = 'mermaid-error'
element.innerHTML = 'mermaid diagram parse error: ' + e.message
}