anyproto / anytype-ts

Official Anytype client for MacOS, Linux, and Windows
https://anytype.io
Other
3.73k stars 220 forks source link

Mermaid breaks in anything case #666

Closed Neirth closed 2 months ago

Neirth commented 3 months ago

Have you read a contributing guide?

Current Behavior

Exploring anytype I see that any kind of mermaid chart breaks:

This is the example: image

Expected Behavior

Can render the mermaid chart normally

Steps To Reproduce

  1. New Page,
  2. New Mermaid Block
  3. Paste the Mermaid example:
    ---
    title: Node
    ---
    flowchart LR
    id
  4. Show how this breaks

Environment

Versión del sistema operativo: win32 x64 10.0.19045
Versión de la app: 0.39.0
Número de compilación: build on 2024-03-05 15:37:42 +0000 UTC at #a7986fffadcc2031b1eb3372265db5dda05f4c6d (dirty)
Versión de la librería: v0.32.1
Identidad Anytype: 
ID de Analíticas: dc62ecf5-2aeb-4bcb-926b-f91c538148e7
ID del dispositivo: 12D3KooWFKs3pcsMAkiT3JdQgajUdmcBPWheWfHmUBe5z9G6iiCF

Anything else?

No response

ra3orblade commented 3 months ago
Screenshot 2024-04-14 at 18 54 58

works for me

langtind commented 3 months ago

This works for me as well. However, I am using the latest beta version, which includes Mermaid 10.9.0.

Neirth commented 3 months ago

@langtind, in the production version breaks, but in the beta version I see that works correctly. I propose to wait for the release before close the issue for avoid regressions.

ra3orblade commented 3 months ago

I have updated the version recently, maybe it uses some new functionality.