grassedge / generate-plantuml-action

Generate uml diagrams with Plantuml Server and push them to your repository.
MIT License
104 stars 170 forks source link

Feature Request: support place plantuml code in <div hidden> </div> #45

Open kcmvp opened 1 year ago

kcmvp commented 1 year ago

In most case we just want to display the diagram instead of the palntuml code. hopes to support place plantuml code in

dios-david commented 1 year ago

This would be really awesome, what I do now as a workaround is:

Text text text

![](./image-name.svg)

<details>
<summary>Code</summary>

 ```plantuml:image-name
        -- plantuml code here --
 ```

</details\>
</code\>

This will render the generated image, and a collapsed block below that with the title of "Code", which shows the original plantuml code when it's opened.