Skip to content

Instantly share code, notes, and snippets.

@tobinharris
Created May 7, 2009 15:57
Show Gist options
  • Star 8 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save tobinharris/108176 to your computer and use it in GitHub Desktop.
Save tobinharris/108176 to your computer and use it in GitHub Desktop.

yUML Test On GitHub

yUML is a simple tool for embedding UML diagrams in wikis and blogs without needing any UML or diagramming tools.

Here's an idea of how it could be used in your repository readme.markdown or wiki.

View the RAW source to see how images are made.

Example

Git users may own repositories.

The may also be collaborators.

Each repositories have a Git repository, a ticketing system and a price plan.

@torarnv
Copy link

torarnv commented Oct 14, 2015

Hmm, the GitHub markdown renderer seems to fail to parse this 😢

@laurelnaiad
Copy link

It works if you escape the the greater than signs (except for the ones that are used to close the img elements).

In my editor (atom), I can do this with a find/replace in regex mode as

find: [^\/](>)
replace with: >

... resulting in... (here is a gist to that can be viewed raw if the description above isn't clear enough: https://gist.github.com/laurelnaiad/ae2b2f25390f04bb8495)

yUML is a simple tool for embedding UML diagrams in wikis and blogs without needing any UML or diagramming tools.

Here's an idea of how it could be used in your repository readme.markdown or wiki.

View the RAW source to see how images are made.

Example

Git users may own repositories.

The may also be collaborators.

Each repositories have a Git repository, a ticketing system and a price plan.

@deanturpin
Copy link

Or use the proper markdown syntax for embedded images.

![](http://yuml.me/diagram/scruffy/class/[Customer]<>1->*[Order] "yUML")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment