-
Notifications
You must be signed in to change notification settings - Fork 7.7k
Embed Diagrams
Gaudenz Alder edited this page Oct 16, 2019
·
34 revisions
To embed diagrams in GitHub markdown, files can be saved as editable .png or .svg files and referenced directly using img tags, eg. ![Alt](images/someimage.png)
with draw.io for GitHub at https://www.draw.io/?mode=github. To read and write files in Wikis, the desktop version from https://get.draw.io must be used due to limitations of the GitHub REST API that does not allow our web app to access wiki repositories.
Here is an example:
The absolute URL of this image is https://raw.githubusercontent.com/wiki/jgraph/draw.io/images/schema.png.
Click here to edit this image in a browser (t=0 is used to bypass possible caches).
Here is the same image as an editable .svg file: