# Markdown Mermaid Gantt compactMode

**URL:** <https://discourse.joplinapp.org/t/markdown-mermaid-gantt-compactmode/30835>\
**Category:** Features\
**Created:** [14 May 2023 22:56 UTC](https://discourse.joplinapp.org/t/markdown-mermaid-gantt-compactmode/30835 "2023-05-14T22:56:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tnwn](https://avatars.discourse-cdn.com/v4/letter/t/e79b87/32.png) [@tnwn](https://discourse.joplinapp.org/u/tnwn)\
**Post date:** [14 May 2023 22:56 UTC](https://discourse.joplinapp.org/t/markdown-mermaid-gantt-compactmode/30835/1 "2023-05-14T22:56:42Z")

</div>

The Markdown Mermaid Diagram team added a new requested feature for a Gantt diagram - the [displayMode: compact option](https://mermaid.js.org/syntax/gantt.html).

Yet, using it on Joplin with the recommended syntax leads to an error:

```plaintext
---
displayMode: compact
---
gantt
    title A Gantt Diagram
    dateFormat YYYY-MM-DD

    section Section
    A task :a1, 2014-01-01, 30d
    Another task :a2, 2014-01-20, 25d
    Another one :a3, 2014-02-10, 20d

```

Can you update the Mermaid version in Joplin, so this feature will work?

Thank you for your job. Have a nice day!

---

<div class="post-metadata">

**Author:** ![Georges](https://avatars.discourse-cdn.com/v4/letter/g/bcef8e/32.png) [@Georges](https://discourse.joplinapp.org/u/Georges)\
**Post date:** [10 June 2023 04:47 UTC](https://discourse.joplinapp.org/t/markdown-mermaid-gantt-compactmode/30835/2 "2023-06-10T04:47:31Z")

</div>

+1  
I would also really like to use displayMode.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex028/uploads/cozic/original/3X/1/c/1c948e33314e232a0927789508474d8624f4270b.png) [@system](https://discourse.joplinapp.org/u/system)\
**Post date:** [4 June 2024 04:47 UTC](https://discourse.joplinapp.org/t/markdown-mermaid-gantt-compactmode/30835/3 "2024-06-04T04:47:55Z")

</div>

Closed on 4 June 2024 04:47 UTC

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