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

autonumber doesn't turn off in mermaid #5216

Closed
3 tasks done
butfool opened this issue Apr 30, 2022 · 2 comments
Closed
3 tasks done

autonumber doesn't turn off in mermaid #5216

butfool opened this issue Apr 30, 2022 · 2 comments

Comments

@butfool
Copy link

butfool commented Apr 30, 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
There are more than one mermaid block in my markdown file, called A and B, and A is in the front of B.

I used 'autonumber' in A (see mermaid autonumber), it worked well. However, this options also appeared int B, which is not expected.

To Reproduce
Steps to reproduce the behavior:
make a new file and copy the following code in it:
(Remember to replace - )

---mermaid
sequenceDiagram
autonumber
a->>b:hello
---

---mermaid
sequenceDiagram
a->>b:hello
---

Expected behavior
B is not expected to be autonumbered.

Screenshots / Screencasts
pximage

Desktop (please complete the following information):

  • OS: [e.g. Windows 11 64bit]

Typora Version
1.2.5 Newest

@butfool
Copy link
Author

butfool commented May 5, 2022

This is a problem of Mermaid, Thanks! #1847

@butfool butfool closed this as completed May 5, 2022
@abnerlee
Copy link
Contributor

abnerlee commented May 8, 2022

link to #1661

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

No branches or pull requests

2 participants