Mermaid Timeline error

Hi,

Joplin 2.12.19 (prod, linux)
Version de Synchro : 3
Version du profil : 43
Révision : 7081046
Enhancement: 1.2.1
Quick Links: 1.2.4
Rich Markdown: 0.13.3
Search & Replace: 2.2.0
Templates: 2.4.0

I would use mermaid to draw timelines. The code works on their demo site.

timeline
        title MermaidChart 2023 Timeline
        section 2023 Q1 <br> Release Personal Tier
          Buttet 1 : sub-point 1a : sub-point 1b
               : sub-point 1c
          Bullet 2 : sub-point 2a : sub-point 2b
        section 2023 Q2 <br> Release XYZ Tier
          Buttet 3 : sub-point <br> 3a : sub-point 3b
               : sub-point 3c
          Bullet 4 : sub-point 4a : sub-point 4b

but it doesn't work on my PC.
I get:

Syntax error in graph
mermaid version 9.2.2

I tried with all disabled others modules, with no change.

1 Like

From what I found it seems that timeline charts do not appear in Mermaid until v9.4.0

Thank you @dpoulton
I'll wait for an update into Joplin himself.

On Joplin 2.13.2 (pre-release) the mermaid charts work.

2 Likes

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