Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
kcmvp opened this issue Jun 26, 2023 · 1 comment
Open

Comments

@kcmvp
Copy link

kcmvp commented Jun 26, 2023

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

@dios-david
Copy link

dios-david commented Aug 22, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants