-
Notifications
You must be signed in to change notification settings - Fork 0
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
Make it easier to share/enhance blockdiag diagrams #5
Comments
See badges/shields#507 for example of embedding and optimizing SVG for GitHub. Looks like Firefox 57.0 has troubles rendering that, or maybe something changed on GitHub side. Badges below should display logo at the left: |
Here is how to draw data URL to canvas: https://stackoverflow.com/questions/4773966/drawing-an-image-from-a-data-url-to-a-canvas Note that if width/height is not set on A solution could be to copy |
Some good tools that can help: |
Seems like the problems is solved with these tools. |
Blockdiag is a tool for creating diagrams, and it only allows to save SVG. GitHub and other sites have troubles with rendering SVG images, so it should be specially formatted for GitHub markup, but a more convenient way is to add an option to render as PNG.
https://bitbucket.org/blockdiag/blockdiag_interactive_shell/issues/4/save-as-png
The text was updated successfully, but these errors were encountered: