joplin icon indicating copy to clipboard operation
joplin copied to clipboard

Mermaid won't work with packet type diagrams.

Open chenfengyuan opened this issue 7 months ago • 6 comments

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:

Image Image

Expected behaviour

Can render packet type diagrams

Image

Logs

No response

chenfengyuan avatar Sep 23 '25 05:09 chenfengyuan

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.

dejafait avatar Sep 23 '25 09:09 dejafait

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.

chenfengyuan avatar Sep 23 '25 09:09 chenfengyuan

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.

github-actions[bot] avatar Oct 23 '25 16:10 github-actions[bot]

Keeping open for now as still broken on current version (3.4.12). Will let it close once fix above is released.

dejafait avatar Oct 23 '25 18:10 dejafait

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.

github-actions[bot] avatar Nov 24 '25 16:11 github-actions[bot]

Not fixed yet.

chenfengyuan avatar Nov 25 '25 06:11 chenfengyuan