mirror of
				https://github.com/mermaid-js/mermaid.git
				synced 2025-11-04 04:44:08 +01:00 
			
		
		
		
	Merge pull request #3271 from heyfirst/docs/fix/font-awesome
fix: add font-awesome css to docsify index.html
This commit is contained in:
		@@ -612,12 +612,14 @@ The icons are accessed via the syntax fa:#icon class name#.
 | 
			
		||||
 | 
			
		||||
```mermaid-example
 | 
			
		||||
flowchart TD
 | 
			
		||||
    B["fa:fa-twitter for peace"]
 | 
			
		||||
    B["fab:fa-twitter for peace"]
 | 
			
		||||
    B-->C[fa:fa-ban forbidden]
 | 
			
		||||
    B-->D(fa:fa-spinner);
 | 
			
		||||
    B-->E(A fa:fa-camera-retro perhaps?)
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
?> Mermaid is now only compatible with Font Awesome versions 4 and 5. Check that you are using the correct version of Font Awesome.
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
## Graph declarations with spaces between vertices and link and without semicolon
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -17,6 +17,7 @@
 | 
			
		||||
    />
 | 
			
		||||
    <!-- <link rel="stylesheet" href="//unpkg.com/docsify/lib/themes/vue.css"> -->
 | 
			
		||||
    <link rel="stylesheet" href="theme.css" />
 | 
			
		||||
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.9.0/css/all.min.css">
 | 
			
		||||
    <script src="//cdn.jsdelivr.net/npm/mermaid@9.1.3/dist/mermaid.min.js"></script>
 | 
			
		||||
    <!-- <script src="http://localhost:9000/mermaid.js"></script> -->
 | 
			
		||||
    <script>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user