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

Issue "Maximum Text Size In Diagram Exceeded" #258

Open
patrickpl opened this issue May 22, 2024 · 1 comment
Open

Issue "Maximum Text Size In Diagram Exceeded" #258

patrickpl opened this issue May 22, 2024 · 1 comment

Comments

@patrickpl
Copy link

For long documents I receive the error "Maximum Text Size In Diagram Exceeded". This is due to mermaid limiting the diagram to 50000 characters.

Mermaid can be configured to allow a different character amount by setting maxTextSize:

mermaid.initialize({
  maxTextSize: 90000
});

It would be great to have a configuration option in vscode to set the maxTextSize

Further information:
https://stackoverflow.com/questions/61870481/maximum-text-size-in-diagram-exceeded
https://mermaid.js.org/config/schema-docs/config.html

@mjbvz
Copy link
Owner

mjbvz commented Jun 18, 2024

Please share an example diagram that demonstrates the issue

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