Closed tristone13th closed 1 year ago
Hi @tristone13th
The mermaid can be configured by users, all options are matched to mermaid official document, you can learn options by mermaid official document.
mermaid-processor:
mode: default # mode value 'pre-fetch' for fetching image at building stage
css:
class: mermaid
syntax:
code: 'mermaid!'
custom: ['@startmermaid', '@endmermaid']
config:
theme: forest
All options under config
are the same as the first line under init
:
%%{init: {'theme':'forest'}}%%
graph TD
a --> b
Above code is rendered as below:
%%{init: {'theme':'forest'}}%%
graph TD
a --> b
Thanks & Regards
Hi @tristone13th
The mermaid can be configured by users, all options are matched to mermaid official document, you can learn options by mermaid official document.
mermaid-processor: mode: default # mode value 'pre-fetch' for fetching image at building stage css: class: mermaid syntax: code: 'mermaid!' custom: ['@startmermaid', '@endmermaid'] config: theme: forest
All options under
config
are the same as the first line underinit
:%%{init: {'theme':'forest'}}%% graph TD a --> b
Above code is rendered as below:
Thanks & Regards
Thanks, it is really helpful!
I didn't find any further documentation in the readme about the mermaid themes, can you list them out for my reference?