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

Upgrade to mermaid 10 api #2903

Merged
merged 1 commit into from
Apr 11, 2023
Merged

Conversation

colombod
Copy link
Member

@colombod colombod commented Apr 11, 2023

Form version 10 mermaid is only esm and published with .mjs extension. Api changed to async with no callbacks.

<script type="module">
  import mermaid from 'https://cdn.jsdelivr.net/npm/mermaid@10/dist/mermaid.esm.min.mjs';
  mermaid.initialize({ startOnLoad: true });
</script>

See changelog for more details

@colombod colombod added the Area-Visualization Plotting, data & object visualization as charts etc label Apr 11, 2023
@colombod colombod merged commit 3bb560e into dotnet:main Apr 11, 2023
@colombod colombod deleted the update_mermaid_api branch April 11, 2023 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Visualization Plotting, data & object visualization as charts etc
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant