mjbvz / vscode-markdown-mermaid

Adds Mermaid diagram and flowchart support to VS Code's builtin markdown preview
https://marketplace.visualstudio.com/items?itemName=bierner.markdown-mermaid
MIT License
640 stars 115 forks source link

not compatible with shiki extension #263

Open mfulton26 opened 1 month ago

mfulton26 commented 1 month ago

I can confirm that when the Markdown Preview VS Code Highlighting extension (shiki) is enabled that Mermaid previews fail for fences ``` (they continue to work for :::):

          ooh. I might have found it! I started adding in my Stable extensions one-by-one and when I installed--or rather enabled--Markdown Shiki:

https://marketplace.visualstudio.com/items?itemName=bierner.markdown-shiki

it failed!

Maybe this will help you figure something out?

Originally posted by @mathomp4 in https://github.com/mjbvz/vscode-markdown-mermaid/issues/210#issuecomment-1641095088

Mermaid Preview in Markdown works again once disabling the shiki extension.