Issue with vertical (vert) in mermaid Gantt charts

Steps to reproduce

The following code in mermaid will not display correctly:

gantt
task A : 2026-12-01, 2M
2027 : vert, 2027-01-01, 1m

Did you follow the troubleshooting guide? Yes

Expected result

Vertical lines being displayed

Actual result

No vertical lines are being displayed.

Environment

SYSTEM INFO:
Obsidian version: 1.12.7
Installer version: 1.8.9
Operating system: Darwin Kernel Version 25.3.0: Wed Jan 28 20:56:35 PST 2026; root:xnu-12377.91.3~2/RELEASE_ARM64_T6030 25.3.0
Login status: not logged in
Language: en
Insider build toggle: off
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 1
Restricted mode: on
RECOMMENDATIONS:
Custom theme and snippets: for cosmetic issues, please first try updating your theme and disabling your snippets. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community theme and snippets.


Additional information

Confirmed the code displays correctly on the online live editor.

will be fixed in v1.13.0. ETA unknown.

2 Likes