Mermaid won't work with packet type diagrams.
Operating system
Windows
Joplin version
3.4.12
Desktop version info
Joplin 3.4.12 (prod, win32)
Device: win32, AMD Ryzen 9 7900X 12-Core Processor
Client ID: 1db354cc70f54ff6b6119eb71540f778
Sync Version: 3
Profile Version: 48
Keychain Supported: No
Alternative instance ID: -
Revision: e9a9f68
Backup: 1.4.3 Freehand Drawing: 3.1.0 Math Mode: 0.8.2 PlantUML2: 1.11.0
Current behaviour
Below code won't work,
packet
+8: "Block name"
+8: "Block name"
error in console:
Expected behaviour
Can render packet type diagrams
Logs
No response
I can confirm the issue.
```mermaid
packet
0-15: "Source Port"
16-31: "Destination Port"
```
works on https://mermaid.live/ but not in joplin.
Joplin bundles Mermaid 11.6.0 and packet diagrams were introduced in 11.0.0.
I can confirm the issue.
```mermaid packet 0-15: "Source Port" 16-31: "Destination Port"works on https://mermaid.live/ but not in joplin. Joplin bundles Mermaid 11.6.0 and packet diagrams were introduced in 11.0.0.
And also works on Github. GitHub automatically renders Mermaid code blocks.
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? If you require support or are requesting an enhancement or feature then please create a topic on the Joplin forum. This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.
Keeping open for now as still broken on current version (3.4.12). Will let it close once fix above is released.
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? If you require support or are requesting an enhancement or feature then please create a topic on the Joplin forum. This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.
Not fixed yet.