Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Mermaid Gantt breaks when using "tickInterval" parameter, & Please Enable Mermaid on Mobile #22

Closed
VanitasVanitatum opened this issue Jan 3, 2023 · 1 comment
Assignees

Comments

@VanitasVanitatum
Copy link

Plugin Name
Mermaid

Describe the bug
If you include the "tickInterval" parameter (added last month, documentation) then RemNote's Mermaid render breaks.

To Reproduce
Create a ##Mermaid \codeblock and paste in the following code. When you remove "%%" to uncomment "tickInterval" it stops working.

gantt
dateFormat  YYYY.MM.DD.HH.mm
axisFormat %Hh%Mm
%% tickInterval 30minute

title   2023.01.03 Tue
section 2023.01.03 Tue
Wake Up         : done   , B      , 2023.01.03.09.00 , 20m
Break           : crit   , Break  , after B          , 50m
Lunch & Walk    : done   , E2     , 2023.01.03.12.00 , 30m
Sleep           : done   , S      , 2023.01.03.22.30 , 30m

Click here for a working example.

I use this for a daily schedule. Please enable on mobile (or at least make that choice toggle-able), so that we don't have to use mobile-browser desktop-mode as a clunky work-around.

@bjsi
Copy link
Collaborator

bjsi commented Jan 6, 2023

I just updated the mermaid plugin.

  • It now uses mermaid 9.3.0 which should support tickInterval
  • It is now enabled on mobile
    Let me know if there are any other issues!

@bjsi bjsi closed this as completed Jan 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants