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 Gantt Chart Rendering bad #5092

Closed
3 tasks done
jmjw opened this issue Feb 24, 2022 · 1 comment
Closed
3 tasks done

Mermaid Gantt Chart Rendering bad #5092

jmjw opened this issue Feb 24, 2022 · 1 comment

Comments

@jmjw
Copy link

jmjw commented Feb 24, 2022

  • Searched existing issues to avoid creating duplicates.

  • Confirmed that it can be reproduced in built-in themes without customized css.

    If it only exists in 3rd party themes or css, you can still report it, but please attach the theme target or the css file. We may not "fix" it, if it is caused by 3rd party themes or css styles that we cannot support.

  • Searched http://support.typora.io/


Describe the bug
Mermaid gantt chart rendering bad

To Reproduce
Steps to reproduce the behavior:

  1. Enter diagram
  2. See diagram rendered

Expected behavior
See screenshots
Especially the markers for the milestones are way off

Screenshots / Screencasts
If applicable, add screenshots / screencasts to help explain your problem.

Good rendering from Online Mermaid:
good rendering from online mermaid

Bad rendering in Typora
bad rendering in Typora

Sample Markdown File

gantt
dateFormat  YYYY-MM-DD
title All items changes to protect the innocent
excludes weekends

section Deliveries
Receive Cables            : milestone, cables, 2022-03-01, 1h
Receive Things x11    : milestone, recvx11, 2022-03-07, 1d
Receive Things x12    : milestone, recvx12, 2022-03-14, 1d
Receive Things x13    : milestone, recvx13, 2022-03-21, 1d

section Setup Connection
Connect A to B  : ab, after cables, 1d
Connect A to C  : ac, after cables ab, 1d

section Setup C
Move things         : mvwn, 2022-03-01, 1d
Install Recipe : recipe, after mvwn, 5d
   
section Connection
Connect x11 to C : x11, after recvx11, 1d
Connect x12 to C : x12, after recvx12, 1d
Connect x13 to C : x13, after recvx13, 1d

Run something                       : sth, after x13, 10d
Loading

Desktop (please complete the following information):

  • OS: Ubuntu 20.04

Typora Version
1.1.5

Additional context
Diagram input:

@abnerlee
Copy link
Contributor

abnerlee commented Mar 3, 2022

put into #1661

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