Skip to content
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

Add settings option to specify mermaid version #10

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

radeklat
Copy link

@radeklat radeklat commented Mar 2, 2024

Hi @terrylinooo. I noticed that the version of mermaid is a bit old. Unfortunately, there is not way to choose the version in the plugin. So I thought rather than having to update the plugin with every version change, it would be better to have the option to choose.

This PR adds a config option to choose the version of the library, defaulting to the embedded one. I went for an input box rather than a drop down, because a list of options would also have to be updated. And at least my intention behind it is to use the latest version, once I tested it works on my site.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant