Closed bzitzow closed 6 years ago
Cannot replicate the error. I have used your example configuration in both user and workspace settings and the diagram is generated correctly.
Please provide more information about your environment.
I'm also having this same issue. Settings are not working in User or Workspace settings; shows "Unknown configuration setting".
Mermaid Preview v0.10.1
VS Code Info: Version: 1.29.1 (user setup) Commit: bc24f98b5f70467bc689abf41cc5550ca637088e Date: 2018-11-15T19:13:36.375Z Electron: 2.0.12 Chrome: 61.0.3163.100 Node.js: 8.9.3 V8: 6.1.534.41 Architecture: x64
Lets explore further this issue in #57.
Version Mermaid-Preview 0.12.0
I've tried to set the theme
Only one setting is available. See code completion mermaid.arrowMarkerAbsolute
There are three issues in this thread:
For 1 follow the example in the test folder. For 2 or 3 open separate issues.
Thanks!
I guess the problem, that I use mermaid in markdown files
Preview as mermaid only (on the right):
vs preview as a part of a markdown preview (on the left) :
So it seems, that the customisation is not working for markdown embedded previews. I can create a issue for this if you like
The issue with customising the theme in the markdown preview is that this extension is not the only one in town that converts the the fenced code into the diagram (e.g. https://github.com/mjbvz/vscode-markdown-mermaid).
I have not tried if both plugins are installed. Not sure what is the best way forward. You could open a issue and I'll try to get @mjbvz's opinion...
Ok I've created this issues: https://github.com/vstirbu/vscode-mermaid-preview/issues/76
Expected behaviour
In the workspace settings, I have configured:
Actual behaviour
VSCode reports: "Unknown configuration setting" on the string "mermaid". The settings are not applied.