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

mermaid can't user axisFormat #1126

Closed
Gowa2017 opened this issue Dec 16, 2019 · 6 comments · Fixed by #1137
Closed

mermaid can't user axisFormat #1126

Gowa2017 opened this issue Dec 16, 2019 · 6 comments · Fixed by #1137

Comments

@Gowa2017
Copy link
Contributor

Code like this:

gantt
    dateFormat YYYY-MM-DD
    title 用户体系改造工作计划
       axisFormat %m-%d
    section 后台
    数据结构  :active,a1,2019-12-12,2019-12-16
    接口相关改造  :active,a2, after a1, 3d 
    
    section APP改造
    APP改版及登录  :active,b1, 2019-12-16, 5d
    APP端相关封装 :b2, after b1, 3d
    学习培训    :b3, after b2, 7d
    二七路     :b4, after b2, 7d
    校园食安    :b5, after b2, 7d
    企业管理    :b6, after b2, 7d
    营业执照-微企 :b7, after b2, 7d
    食品许可    :b8, after b2, 7d
    APP改造完成        :crit,s,2019-12-31, 1d
    
    section 集中测试
    集中测试 :c1, after s, 9d
    
    section 上线
    预上线 :d1, 2020-01-10,7d

Loading

In typora is Ok.
image

@FranklinYu
Copy link
Member

In MacDown we use v3.5.4. Is this feature available in this version?

@Gowa2017
Copy link
Contributor Author

In MacDown we use v3.5.4. Is this feature available in this version?

Seems not. I think it's in v8.0 .

@Gowa2017
Copy link
Contributor Author

In MacDown we use v3.5.4. Is this feature available in this version?

I found the upgrade mermaid to v8.0 is not so diffcult in vnote,but how the macdown implemention the mermaid, or it use mermaid.js ?

@FranklinYu
Copy link
Member

@Gowa2017
Copy link
Contributor Author

@FranklinYu Yes, I try to upgrade it .

@legoming
Copy link

legoming commented Jan 1, 2020

Great!
I just looking for how to change x-axis from week number to date in MacDown.
The week number shown in MacDown is not unified with the week number used inside.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants