-
-
Notifications
You must be signed in to change notification settings - Fork 92
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
Mermaid flow chart is not showing text #173
Comments
Same here. |
@JanKinable I didn't realize that this was the same problem I was dealing with before while writing an open source project, and found a solution for it. You need to add two specific files to the root folder of your working directory (that is, the git clone point ) for the project. I think they can also reside in the same folder as the solution file.
You can copy these two files from this repository. The problem has to do with some browser behavior (WIndows) which mermaid uses to render. The problem appears in Visual Studio because it uses those libraries, and inherits the problem. The text may not be the perfect size you want, but it will render. |
dup with #92 😅 @JanKinable @rambotech |
Thanks for the tip, @rambotech I hadn't worked with Mermaid before, so when I first tried some and noticed the lack of all the details, I was pretty disappointed. Now that I've put the HTML file in my This brings up a possible enhancement to the installation routine: Drop copies of both Another "option" that might be useful as well would be to add a configuration option to point to an "external" EDITI just installed the latest CI build (1.12.253) and it appears that the option to point to an "external" Reading through the documentation on the VSIX Gallery site, it appears that this behaves the same way as the
So, again, you can put a "standard" copy of this I tested by copying the local copy to my network share, then renaming the local copy, setting the path for the |
@GHosaPhat: putting the files in the user folder solved the issue. Thank you for this. |
Installed product versions
Description
When using Mermaid flow chart the nodes are rendered but no textual visualization is present.
I use this snippet
and getting this output (missing text)
The text was updated successfully, but these errors were encountered: