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 support for Mermaid.js diagrams #2754

Open
dessalines opened this issue Oct 15, 2024 Discussed in #2735 · 1 comment
Open

Add support for Mermaid.js diagrams #2754

dessalines opened this issue Oct 15, 2024 Discussed in #2735 · 1 comment
Assignees

Comments

@dessalines
Copy link
Member

Discussed in #2735

There is a markdown-it plugin for mermaid: https://github.com/wekan/markdown-it-mermaid , that I'll add. Any bugs related to it tho, you'll have to open up over there.

cc @YousufSSyed

@dessalines
Copy link
Member Author

dessalines commented Oct 15, 2024

Nevermind, it doesn't work because that library doesn't support ESM.

Error [ERR_REQUIRE_ESM]: require() of ES Module /home/xxx/git/lemmy-ui/node_modules/.pnpm/[email protected]/node_modules/mermaid/dist/mermaid.core.mjs not supported.

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 a pull request may close this issue.

1 participant