remcohaszing / rehype-mermaid

A rehype plugin to render mermaid diagrams
MIT License
68 stars 8 forks source link

how to use inline option? #12

Closed HananoshikaYomaru closed 6 months ago

HananoshikaYomaru commented 6 months ago
%%{init: { 'theme': 'dark', 'timeline': {'disableMulticolor': true}}}%%
... mermaid code

I tried but this doesn't work

HananoshikaYomaru commented 6 months ago

Sorry I get it. I have to manually set the option in the remark plugin