Comments (2)
Issue is with the comments, and is present in Chrome and Firefox, but not Safari (Validated).
Adding %%----- Generic Styling Classes -----%%
breaks the diagram, works fine without the comments.
Suspect that the ----
part is interfering with yaml parsing.
from mermaid-live-editor.
This is not an issue with mermaid, but how monaco editor's highlighting works, based on the config provided.
Disabling the initEditor(monaco);
call fixes the issue. So we need to investigate which rule is causing the issue.
Analysing the profile revealed that it's an issue with tokenization.
from mermaid-live-editor.
Related Issues (20)
- DDD Context Maps HOT 1
- Load from Gists functionality not working
- Clear diagram, or plain text editor HOT 1
- can't force-insert vertical spacer or etc between subgraph title and content in live editor HOT 2
- Support HTML in Markdown strings. HOT 2
- files diagram lost HOT 2
- Formatting of diagram is changed when exported to svg, pdf or png
- Subscripts are bunched in a corner in Safari
- Broken link
- PNG export fails with #nbsp in the note text
- Building on Windows
- Add word completion for reserved terms
- Mermaid diagram WYSIWYG GUI Editor
- node:::hidden property still renders to png file
- Add accTitle and accDescr parameters to sample diagrams
- mermaidjs : Gantt Diagram Non Overlapping Tasks in Single Row
- class diagram: arrows to and from namespace
- Class diagramm: giving the namespace a specific name just like I do with classes
- An option to have transparent background for exported PNG
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mermaid-live-editor.