2022-10-17 23:58:51 -03:00
|
|
|
> **Warning**
|
|
|
|
>
|
|
|
|
> ## THIS IS AN AUTOGENERATED FILE. DO NOT EDIT.
|
|
|
|
>
|
2023-08-23 20:38:06 +00:00
|
|
|
> ## Please edit the corresponding file in [/packages/mermaid/src/docs/config/advanced.md](../../packages/mermaid/src/docs/config/advanced.md).
|
2022-09-03 13:05:47 +05:30
|
|
|
|
2023-08-23 20:38:06 +00:00
|
|
|
# Advanced mermaid (Coming soon..)
|
2022-09-03 09:13:37 +05:30
|
|
|
|
|
|
|
## 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:
|
|
|
|
|
2022-12-11 20:53:14 -08:00
|
|
|
```html
|
|
|
|
...
|
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
```
|
2022-09-03 09:13:37 +05:30
|
|
|
|
|
|
|
The actual mermaid file could for example look like this:
|
|
|
|
|
2022-12-11 20:53:14 -08:00
|
|
|
```javascript
|
|
|
|
mermaid content ...
|
|
|
|
```
|
2022-09-03 09:13:37 +05:30
|
|
|
|
|
|
|
## mermaid configuration options
|
|
|
|
|
2022-12-11 20:53:14 -08:00
|
|
|
```markdown
|
|
|
|
(coming soon)
|
|
|
|
```
|