mirror of
				https://github.com/mermaid-js/mermaid.git
				synced 2025-11-04 12:54:08 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			22 lines
		
	
	
		
			377 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			377 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
# 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
 | 
						|
 | 
						|
...
 |