-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mermaid config doesn't work. #1850
Labels
Comments
possibly #1830 |
@KermanX It seems I've managed to resolve it. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I tried to change mermaid theme as it described in documentation: https://sli.dev/custom/config-mermaid. I created a file ./setup/mermaid.ts and copied example into it. But it didn't change anything and mermaid still uses the default theme. However, custom theme variables work properly if mermaid.ts is changed while slidev is running. After restarting slidev, mermaid reverts back to default theme.
Minimal reproduction
Steps to reproduce the behavior:
Environment
The text was updated successfully, but these errors were encountered: