mirror of
				https://github.com/mermaid-js/mermaid.git
				synced 2025-11-04 12:54:08 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			31 lines
		
	
	
		
			615 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			31 lines
		
	
	
		
			615 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
> **Warning**
 | 
						|
>
 | 
						|
> ## THIS IS AN AUTOGENERATED FILE. DO NOT EDIT.
 | 
						|
>
 | 
						|
> ## Please edit the corresponding file in [/packages/mermaid/src/docs/config/advanced.md](../../packages/mermaid/src/docs/config/advanced.md).
 | 
						|
 | 
						|
# Advanced 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:
 | 
						|
 | 
						|
```html
 | 
						|
...
 | 
						|
  </div>
 | 
						|
  </body>
 | 
						|
</html>
 | 
						|
```
 | 
						|
 | 
						|
The actual mermaid file could for example look like this:
 | 
						|
 | 
						|
```javascript
 | 
						|
mermaid content ...
 | 
						|
```
 | 
						|
 | 
						|
## mermaid configuration options
 | 
						|
 | 
						|
```markdown
 | 
						|
(coming soon)
 | 
						|
```
 |