GuntherRademacher / rr

RR - Railroad Diagram Generator
Apache License 2.0
467 stars 51 forks source link

[Feature Request] Embed the grammar in the URL #3

Open hmijail opened 4 years ago

hmijail commented 4 years ago

Some online editors can generate a link containing the information needed to rebuild the result. Sometimes they can even render the image if referenced as such. It's great to link in forums, articles, etc. And it would be great here too :)

Example: https://yuml.me/diagram/scruffy/class/samples

GuntherRademacher commented 4 years ago

Thank you for proposing this. Sounds nice to have, but if it was implemented, I wouldn't want to host it on my server. So I doubt that I will be working on it. Sorry.

graingert commented 3 years ago

@GuntherRademacher you can use gist.github.com to host snips, see https://mypy-play.net/?mypy=latest&python=3.9&gist=093bbe811427f7a8a164311a9cd0efa1

tchajed commented 3 years ago

I would also like to see this. As @graingert points out, this would be useful even if it only supported getting the grammar from a URL.