Steps to reproduce
try this mermaid graph, it renders with no errors when in live preview
sequenceDiagram
autonumber
rect rgb(191, 223, 255)
Service->>Cache:session token
alt exists
Cache-->>Service:valid
else not found
rect rgb(200, 150, 255)
Cache-->>Service:not found
Service->>Authentication:session token
Authentication-->>Service:valid
end
end
end
Note over Service,Authentication:full cache-auth
Expected result
render well when in reading mode or exporting
Actual result
error
Error parsing Mermaid diagram!
Parse error on line 5:
...en alt exists Cache-->>Service
----------------------^
Expecting 'SOLID_OPEN_ARROW', 'DOTTED_OPEN_ARROW', 'SOLID_ARROW', 'DOTTED_ARROW', 'SOLID_CROSS', 'DOTTED_CROSS', 'SOLID_POINT', 'DOTTED_POINT', got 'NEWLINE'
Environment
-
Operating system: MacOS
-
Debug info:
SYSTEM INFO:
Obsidian version: v0.14.15
Installer version: v0.14.15
Operating system: Darwin Kernel Version 21.5.0: Tue Apr 26 21:08:37 PDT 2022; root:xnu-8020.121.3~4/RELEASE_ARM64_T6000 21.5.0
Login status: not logged in
Insider build toggle: off
Live preview: on
Legacy editor: off
Base theme: light
Community theme: none
Snippets enabled: 0
Safe mode: off
Plugins installed: 5
Plugins enabled: 5
1: Kanban
2: Dataview
3: Excalidraw
4: Mind Map
5: Templater
RECOMMENDATIONS:
Community plugins: for bugs, please first try updating all your plugins to latest. If still not fixed, please try to make the issue happen in the help vault or disable community plugins.