ZenUml / web-sequence

Realtime tool for generating sequence diagrams.
https://zenuml.com/
MIT License
118 stars 23 forks source link

[ChromeExtension]Render sequence diagram on ANY page #589

Open MrCoder opened 10 months ago

MrCoder commented 10 months ago

This is an idea for the Chrome / Edge extension. When the user have the extension installed, we can convert any special element to a sequence diagram. The special element should contains the DSL of ZenUML.

Most common case is the the page is rendered from markdown, something like this:

```zenuml
A.method
```

It is often converted to (such as on GitHub):

<pre lang="zenuml" class="notranslate">
  <code class="notranslate">A.method</code>
</pre>

A user's request is at here: https://github.com/ZenUml/web-sequence/discussions/496#discussioncomment-7391725

MrCoder commented 10 months ago

推广策略

我们可以从GitHub的Gist开始。让用户将Diagram分享到Gist。 例子: https://gist.github.com/MrCoder/283f751b593bd7d693209f6bf29a9809

Image