[SOLVED] Mermaid diagram not working in trilium notes

Hardware: VPS bought online ( Contabo )
YunoHost version: 11.1.6 (stable)
I have access to my server : Through SSH and browser
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no

i was testing trilium notes and was welcomed by this error when tried to create a mermaid diagram:

new note

does anyone know if it’s an original app issue or is it ynh specific?

Can you share your syntax, since it complains about it? :sweat_smile:

it was a brand new note, i didn’t write anything yet.

Trilium Notes ships with examples for Mermaid diagrams, for example this is one of them. Can you copy and paste it?

sequenceDiagram
Alice->>John: Hello John, how are you?
loop Healthcheck
    John->>John: Fight against hypochondria
end
Note right of John: Rational thoughts!
John-->>Alice: Great!
John->>Bob: How about you?
Bob-->>John: Jolly good!

my bad. it was a syntax error in the end. :upside_down_face:
i was just doing the same mistake over and over.
thank you for sharing your example. it helped me find it.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.