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
Describe the bug
In version 8.14 of the Markdown Preview Enhanced extension, I've encountered an issue with Mermaid frontmatter and directive style customization. Specifically, nested configurations within the frontmatter and directive are not functioning as expected.
Environment
OS: Windows 10
VSCode: 1.93.0
Markdown Preview Enhanced: 0.8.14
To Reproduce
Steps to reproduce the behavior:
Create a Markdown file with a Mermaid diagram.
Add frontmatter or use directives to define custom styles for the diagram.
Notice that the nested configuration does not apply, and the diagram renders with default styling instead.
Expected behavior
Both frontmatter and directive customizations, including nested configurations, should apply the specified styles correctly to the Mermaid diagram.
Additional context
This issue seems to have been introduced in version 8.14, as the same configuration worked correctly in previous versions. Any guidance on how to resolve this issue, or an upcoming fix, would be greatly appreciated.
Thank you for your attention to this matter!
The text was updated successfully, but these errors were encountered:
Thank you so much for your prompt reply and for looking into this issue.
After further investigation, I realized that my initial report was incorrect. The problem is not with the nested configurations in the frontmatter but rather with the configuration for the flowchart. Specifically, it seems that settings such as curve: step are not being applied in version 0.8.14, while they were working correctly in version 0.8.13.
This could be an upstreaming bug from the mermaid.js
I just tried your code in the mermaid visual editor and it had the same problem you described.
So you may also want to ask the problem here: https://github.com/mermaid-js/mermaid/issues
Thank you for confirming the issue and for pointing me in the right direction. I will go ahead and report this problem to the Mermaid.js team as you suggested.
Describe the bug
In version 8.14 of the Markdown Preview Enhanced extension, I've encountered an issue with Mermaid frontmatter and directive style customization. Specifically, nested configurations within the frontmatter and directive are not functioning as expected.
Environment
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Both frontmatter and directive customizations, including nested configurations, should apply the specified styles correctly to the Mermaid diagram.
Markdown file
test.md
Screenshots
Additional context
This issue seems to have been introduced in version 8.14, as the same configuration worked correctly in previous versions. Any guidance on how to resolve this issue, or an upcoming fix, would be greatly appreciated.
Thank you for your attention to this matter!
The text was updated successfully, but these errors were encountered: