RickStrahl / MarkdownMonster

An extensible Markdown Editor, Viewer and Weblog Publisher for Windows
https://markdownmonster.west-wind.com
Other
1.59k stars 235 forks source link

Mermaid diagram rendering not correct in preview #451

Closed bently0602 closed 6 years ago

bently0602 commented 6 years ago

Mermaid diagrams do not preview render correctly. If I had guess it would be because of IE 11 issues with the embedded mode. Opening in external browser like Chrome works correctly.

This markdown snippet:

capture

Renders like this in preview mode: capture2

Also some text on the arrows do not render: capture3

RickStrahl commented 6 years ago

Yes IE 11 unfortunately doesn't support Mermaid properly. The only way to properly preview at the moment is to use an external browser view (alt-v-b).

In the not to distant future I'm going to switch off the WebBrowser control and switch either to CefSharp or integrating the WebView control, both are currently adding features that will make things a bit easier that I'm waiting for.

I have a Chromium Preview add-in, but it's very rough and requires some manual setup. It works but it's but not complete. If you're really despearte you can play around with that.

Closing this issue since it's well known and on the list to be addressed with a new browser engine in the future.