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

docs: the classDef example in stateDiagram not display as code block, and long text display overflows #5639

Closed
ScriptBloom opened this issue Jul 12, 2024 · 0 comments · Fixed by #5640
Labels
Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect

Comments

@ScriptBloom
Copy link
Contributor

Description

  1. ths classDef example in stateDiagram not display as code block, which cause not copyable and long text display overflows
  2. the class statement example code block has extra space

Steps to reproduce

  1. visit https://mermaid.js.org/syntax/stateDiagram.html
  2. found ths classDef example in stateDiagram not display as code block and long text display overflows
image
  1. found the class statement example code block has extra space
image

Screenshots

No response

Code Sample

No response

Setup

  • Mermaid version: latest
  • Browser and Version: [Chrome]

Suggested Solutions

No response

Additional Context

No response

@ScriptBloom ScriptBloom added Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect labels Jul 12, 2024
@ScriptBloom ScriptBloom changed the title docs: ths classDef example in stateDiagram not display as code block, and long text display overflows docs: the classDef example in stateDiagram not display as code block, and long text display overflows Jul 12, 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
1 participant