mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-14 06:43:25 +08:00
5e9db250bc
* develop: chore: update browsers list Fix pre Prettier pass Fix XSS htmls fix #3407 Replace `div` with `pre` and format
27 lines
471 B
Markdown
27 lines
471 B
Markdown
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT. Please edit corresponding file in src/docs.
|
|
|
|
# Advanced n00b mermaid (Coming soon..)
|
|
|
|
## splitting mermaid code from html
|
|
|
|
A more condensed html code can be achieved by embedding the mermaid code in its own .js file, which is referenced like so:
|
|
|
|
```
|
|
stuff stuff
|
|
</div>
|
|
</body>
|
|
</html>
|
|
```
|
|
|
|
The actual mermaid file could for example look like this:
|
|
|
|
```
|
|
mermaid content...
|
|
```
|
|
|
|
---
|
|
|
|
## mermaid configuration options
|
|
|
|
...
|