mjbvz / vscode-markdown-mermaid

Adds Mermaid diagram and flowchart support to VS Code's builtin markdown preview
https://marketplace.visualstudio.com/items?itemName=bierner.markdown-mermaid
MIT License
633 stars 114 forks source link

Gannt issue with tickInterval #173

Closed tropicalgarlicbread closed 1 year ago

tropicalgarlicbread commented 1 year ago

If I try to use tickInterval, the graph shows a syntax error for mermaid version 8.8.0 which is odd. For example the below renders fine on Mermaid Live.

gantt
  title xxx
  dateFormat YYYY-MM-DD
  axisFormat %Y-%b
  tickInterval 3 months
  T1 :milestone, 2023-05-01, 1d
  T2 :milestone, 2028-01-01, 1d
mjbvz commented 1 year ago

Should work in latest release now that we're using mermaid 9.4