mirror of
				https://github.com/mermaid-js/mermaid.git
				synced 2025-10-31 10:54:15 +01:00 
			
		
		
		
	Example 2 is not shown in mermaidAPI configuration section of the docs
This commit is contained in:
		| @@ -27,7 +27,7 @@ mermaid.initialize({ | |||||||
| **Example 2:** | **Example 2:** | ||||||
|  |  | ||||||
| <pre> | <pre> | ||||||
|  <script> | <script> | ||||||
|   var config = { |   var config = { | ||||||
|     startOnLoad:true, |     startOnLoad:true, | ||||||
|     flowchart:{ |     flowchart:{ | ||||||
| @@ -39,10 +39,10 @@ mermaid.initialize({ | |||||||
|     securityLevel:'loose', |     securityLevel:'loose', | ||||||
|   }; |   }; | ||||||
|   mermaid.initialize(config); |   mermaid.initialize(config); | ||||||
| </script> | </script> | ||||||
|  |  | ||||||
| </pre> | </pre> | ||||||
| A summary of all options and their defaults is found [here](https://github.com/knsv/mermaid/blob/master/docs/mermaidAPI.md#mermaidapi-configuration-defaults). A description of each option follows below. |  | ||||||
|  | A summary of all options and their defaults is found [here][2]. A description of each option follows below. | ||||||
|  |  | ||||||
| ## theme | ## theme | ||||||
|  |  | ||||||
| @@ -333,3 +333,5 @@ mermaidAPI.initialize({ | |||||||
| </pre> | </pre> | ||||||
|  |  | ||||||
| [1]: https://github.com/knsv/mermaid/blob/master/docs/mermaidAPI.md#render | [1]: https://github.com/knsv/mermaid/blob/master/docs/mermaidAPI.md#render | ||||||
|  |  | ||||||
|  | [2]: https://github.com/knsv/mermaid/blob/master/docs/mermaidAPI.md#mermaidapi-configuration-defaults | ||||||
|   | |||||||
| @@ -59,7 +59,7 @@ for (const themeName of ['default', 'forest', 'dark', 'neutral']) { | |||||||
|  * |  * | ||||||
|  * **Example 2:** |  * **Example 2:** | ||||||
|  * <pre> |  * <pre> | ||||||
|  *  <script> |  * <script> | ||||||
|  *   var config = { |  *   var config = { | ||||||
|  *     startOnLoad:true, |  *     startOnLoad:true, | ||||||
|  *     flowchart:{ |  *     flowchart:{ | ||||||
| @@ -71,7 +71,7 @@ for (const themeName of ['default', 'forest', 'dark', 'neutral']) { | |||||||
|  *     securityLevel:'loose', |  *     securityLevel:'loose', | ||||||
|  *   }; |  *   }; | ||||||
|  *   mermaid.initialize(config); |  *   mermaid.initialize(config); | ||||||
|  * </script> |  * </script> | ||||||
|  * </pre> |  * </pre> | ||||||
|  * A summary of all options and their defaults is found [here](https://github.com/knsv/mermaid/blob/master/docs/mermaidAPI.md#mermaidapi-configuration-defaults). A description of each option follows below. |  * A summary of all options and their defaults is found [here](https://github.com/knsv/mermaid/blob/master/docs/mermaidAPI.md#mermaidapi-configuration-defaults). A description of each option follows below. | ||||||
|  * |  * | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Marc Faber
					Marc Faber