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

Provide minified bundle with ELK for desktop/standalone Markdown editors #6294

Open
nanoant opened this issue Feb 17, 2025 · 0 comments
Open
Labels
Status: Triage Needs to be verified, categorized, etc

Comments

@nanoant
Copy link

nanoant commented Feb 17, 2025

Since v11 and Move ELK to standalone package by sidharthv96 · Pull Request #5049 · mermaid-js/mermaid · GitHub Mermaid minified version no longer contains ELK and https://www.npmjs.com/package/@mermaid-js/layout-elk does not provide plain JS minified version, only ESM one.

This change broke ELK support for desktop/standalone Markdown editors providing Mermaid support using plain JS min.js Mermaid distribution:

Can you please consider either providing Mermaid+ELK minified plain JS bundle or providing ELK as plain (non-ESM) JS version?

NOTE: I managed to min.js bundle (recipe typora/typora-issues#6174 (comment)) injecting ELK back to Mermaid build, but this requires hacking Mermaid build.

@github-actions github-actions bot added the Status: Triage Needs to be verified, categorized, etc label Feb 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Triage Needs to be verified, categorized, etc
Projects
None yet
Development

No branches or pull requests

1 participant