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

the Last subscripted Greek letter causes error #5868

Open
idealkindom opened this issue Sep 16, 2024 · 0 comments
Open

the Last subscripted Greek letter causes error #5868

idealkindom opened this issue Sep 16, 2024 · 0 comments
Labels
Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect

Comments

@idealkindom
Copy link

Description

In the following mermaid code the last subscripted Greek letter causes error. If you delete the subscript it's OK:

graph TD
A[12]-->B[$$R=R \lparen f_c,f_y,a_k,...\rparen/\alpha_{Rd}$$];
A-->C[$$R=R\lparen f_c,f_y,a_k,...\rparen/\gamma_{Rd}$$]
Loading

In KaTex the content could be rendered descently:

$R=R \lparen f_c,f_y,a_k,...\rparen/\alpha_{Rd}$
$R=R\lparen f_c,f_y,a_k,...\rparen/\gamma_{Rd}$

Steps to reproduce

  1. Copy my code here to live mermaid to see:
graph TD
A[12]-->B[$$R=R \lparen f_c,f_y,a_k,...\rparen/\alpha_{Rd}$$];
A-->C[$$R=R\lparen f_c,f_y,a_k,...\rparen/\gamma_{Rd}$$]
Loading

Screenshots

mermaid KaTeX

Code Sample

No response

Setup

  • Mermaid version:
  • Browser and Version: [Chrome, Edge, Firefox]

Suggested Solutions

No response

Additional Context

No response

@idealkindom idealkindom added Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect labels Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect
Projects
None yet
Development

No branches or pull requests

1 participant