You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, if you make an error in the mermaid text, the error is only displayed in the devtools console, which isn't particularly user friendly.
With #69 & 8.10.2, it appears to have gotten worse, with no console message and only the following image being displayed:
which is even less helpful.
Can we get a better way of displaying errors?
The mermaid docs mention a parseError function, which seems designed for this purpose - https://mermaid-js.github.io/mermaid/#/usage?id=advanced-usage . I had a brief play, but couldn't get it to work with the existing initialize & init workflow in ext.mermaid.js (which appears to be deprecated anyway, according to the documentation?)
The text was updated successfully, but these errors were encountered:
Currently, if you make an error in the mermaid text, the error is only displayed in the devtools console, which isn't particularly user friendly.
With #69 & 8.10.2, it appears to have gotten worse, with no console message and only the following image being displayed:
which is even less helpful.
Can we get a better way of displaying errors?
The mermaid docs mention a parseError function, which seems designed for this purpose - https://mermaid-js.github.io/mermaid/#/usage?id=advanced-usage . I had a brief play, but couldn't get it to work with the existing
initialize
&init
workflow inext.mermaid.js
(which appears to be deprecated anyway, according to the documentation?)The text was updated successfully, but these errors were encountered: