Replies: 1 comment
-
I think the future of plugin diagram will be similar to plugin math. It should be an extension of the code block component. The main blocker for now is that I can not find a well maintained codemirror language pack for mermaid. If you want to try. You can take a look at how it's implemented and users will still be able to get the diagrams. But there'll be no syntax highlight support. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
https://milkdown.dev/docs/api/plugin-diagram
sample project:
https://stackblitz.com/edit/github-rhrhrpcb-i52u4fkk?file=src%2Fmain.ts
Beta Was this translation helpful? Give feedback.
All reactions