dartungar / obsidian-mermaid

Tools for improved Mermaid.js experience in Obsidian.md
MIT License
203 stars 7 forks source link

Unable to display Gantt diagram in compact mode #24

Closed youk closed 1 year ago

youk commented 1 year ago

Setting displayMode to compact has no effect. Tasks still occupy separate lines.

%%{init: {
    "gantt": {
        "displayMode": "compact"
    }
}}%%
gantt
    section Section
    Task 1     :2023, 2d
    Task 2     :2d

Expected (screenshot from https://mermaid.live/): image

Actual: image

Other configuration parameters like useWidth or numberSectionStyles work fine.

youk commented 1 year ago

Sorry, I just realized the plugin has nothing to do with this issue.