[Description]:
After upgrading to VS Code 1.121.0, Mermaid diagrams in Markdown files are not displayed in the preview panel.
However, I noticed that if I edit the Markdown source code (e.g., type any character inside the code block), the Mermaid preview suddenly renders correctly.
Without mermaidchart.vscode-mermaid-chart extension installed, everything works correctly.
[Steps to reproduce]:
- Install VS Code 1.121.0
- Install the extension mermaidchart.vscode-mermaid-chart v2.6.6
- Create a Markdown file with two Mermaid diagram code block
- Open the Markdown preview
- Observe that the Mermaid diagram is not rendered
- Type any character inside the Mermaid code block in the source editor
- Observe that the preview now shows the diagram correctly
[Expected behavior]:
The Mermaid diagram should render immediately without needing to modify the source code.
[Screenshots]:
Initial broken preview

Preview after typing in source code

[Environment]:
VS Code version: 1.121.0
Extension: mermaidchart.vscode-mermaid-chart (v2.6.6)
[Note]:
VS Code 1.121.0 introduced a built-in extension called "Mermaid Markdown Features" that adds native Mermaid support. This may be causing a conflict with the third-party Mermaid extension.
[Description]:
After upgrading to VS Code 1.121.0, Mermaid diagrams in Markdown files are not displayed in the preview panel.
However, I noticed that if I edit the Markdown source code (e.g., type any character inside the code block), the Mermaid preview suddenly renders correctly.
Without mermaidchart.vscode-mermaid-chart extension installed, everything works correctly.
[Steps to reproduce]:
[Expected behavior]:
The Mermaid diagram should render immediately without needing to modify the source code.
[Screenshots]:
Initial broken preview

Preview after typing in source code

[Environment]:
VS Code version: 1.121.0
Extension: mermaidchart.vscode-mermaid-chart (v2.6.6)
[Note]:
VS Code 1.121.0 introduced a built-in extension called "Mermaid Markdown Features" that adds native Mermaid support. This may be causing a conflict with the third-party Mermaid extension.