mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-19 23:39:50 +02:00
Update theming.md
This commit is contained in:
@@ -25,7 +25,9 @@ When Generating a diagram using on a webpage that supports mermaid. It is also p
|
|||||||
|
|
||||||
|
|
||||||
Here is an example of how `%%init%%` can set the theme to 'base', this assumes that `themeVariables` are set to default:
|
Here is an example of how `%%init%%` can set the theme to 'base', this assumes that `themeVariables` are set to default:
|
||||||
```mermaid
|
|
||||||
|
```
|
||||||
|
mermaid
|
||||||
%%{init: {'theme':'base'}}%%
|
%%{init: {'theme':'base'}}%%
|
||||||
graph TD
|
graph TD
|
||||||
A[Christmas] -->|Get money| B(Go shopping)
|
A[Christmas] -->|Get money| B(Go shopping)
|
||||||
|
Reference in New Issue
Block a user