-
Notifications
You must be signed in to change notification settings - Fork 9
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
How to centre diagram? #26
Comments
For the garbled text I believe you need an empty line after the Using that I was able to center diagrams smaller than the body using |
Oh beautiful that worked for my use case, I'm happy with this being closed unless you want to keep it open to track any improvements to the existing behaviour. It would be nice if it just worked but a mention in the readme or a troubleshooting section would also probably work for most users |
What if you add a class to the |
I believe this has been resolved but please reopen if needed. |
I might be missing something, I was just wondering if there's an easy way to centre the diagram on the page? I tried applying the
center=true
attribute in dot itself but it's still left aligned. I also tried placing a<div align="center"></div>
around the code block but that didn't work - it caused the graphviz text to be mangled in the body.The text was updated successfully, but these errors were encountered: