-
-
Notifications
You must be signed in to change notification settings - Fork 6.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tabs & subgraphs cause rendering error #336
Comments
I had the same issue.
This will not compile for CLI either if there are tabs instead of spaces for the indentation. Using mermaid 6.0.0 and phantomJS 2.1.1 |
I confirm that it is an issue. Tabs doesn't work. No syntax error but there is also no output chart. |
It seems that this issue only happens with subgraph. There is no problem if no subgraph: https://mermaidjs.github.io/mermaid-live-editor/#/edit/Z3JhcGggVEIKCWExLS0-YTIK |
I spent a long time trying to figure out why my code was not rendering after I tried adding a subgraph. Eventually, I realized that using spaces instead of tabs makes it render. Perhaps something in the subgraph code?
The text was updated successfully, but these errors were encountered: