We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Consider this simple HTML page. Adding the ZenUML diagram affects rendering of the <h1> element: the font changes and the text becomes small.
<h1>
It seems that the <style> added by the JS is affecting the entire page? Am I doing something wrong here?
<style>
<!DOCTYPE html> <html lang="en"> <head> </head> <body> <h1>H1 Header</h1> <pre class="mermaid"> zenuml Alice->John: Hello John, how are you? John->Alice: Great! Alice->John: See you later! </pre> <script type="module"> import mermaid from 'https://cdn.jsdelivr.net/npm/mermaid@10/dist/mermaid.esm.min.mjs'; import zenuml from 'https://cdn.jsdelivr.net/npm/@mermaid-js/mermaid-zenuml@0.1.0/dist/mermaid-zenuml.esm.min.mjs'; await mermaid.registerExternalDiagrams([zenuml]); </script> </body> </html>
The text was updated successfully, but these errors were encountered:
Fixed
Sorry, something went wrong.
Fix at mermaid side: mermaid-js/mermaid#4705
No branches or pull requests
Consider this simple HTML page. Adding the ZenUML diagram affects rendering of the
<h1>
element: the font changes and the text becomes small.It seems that the
<style>
added by the JS is affecting the entire page? Am I doing something wrong here?The text was updated successfully, but these errors were encountered: