Mermaid diagrams fails to show on Playground on milkdown.dev #1733
michaelcychan
started this conversation in
General
Replies: 2 comments 3 replies
-
|
It is not supported in crepe now. The main blocker for now is that I can not find a well maintained codemirror language pack for mermaid. |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
@homanp I modified the source code to supports mermaid, please see my code: crepe/src/feature/mermaid |
Beta Was this translation helpful? Give feedback.
2 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.
-
Initial checklist
Affected packages and versions
v7.5.9
Link to runnable example
No response
Steps to reproduce
```mermaid
flowchart TD
A[Christmas] -->|Get money| B(Go shopping)
B --> C{Let me think}
C -->|One| D[Laptop]
C -->|Two| E[iPhone]
C -->|Three| F[fa:fa-car Car]
```
Expected behavior
a mermaid diagram should be rendered on the preview side:

Actual behavior
The mermaid snippet appears as a normal code snippet

Runtime
Chrome
OS
macOS
Build and bundle tools
Other (please specify in steps to reproduce)
Beta Was this translation helpful? Give feedback.
All reactions