-
Notifications
You must be signed in to change notification settings - Fork 108
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
Support for PlantUML "newpage" command #195
Comments
At the moment I think you'll need to extract the shared bits to a separate file and then include that from the two separate diagrams where you make use of the shared parts. There's a pretty strong assumption in the code at the moment that only a single image will be generated per diagram block. In theory it's possible to support this and even generate an asciidoc page break where the |
Hi, |
Personal background I found it best to add a "legend" to a PlantUML diagram after Want to contribute I am willing to look into solutions for this issue, and to support the implementation. Problem As far as I got the problem:
Alternative Approaches I see two alternative approaches to support
Discussion wanted I would appreciate a discussion with one of the maintainers on this topic. |
I'm creating a Use Case diagram with PlantUML inside an Asciidoctor document (I'm using inline Asciidoctor). When I use the PlantUML
newpage
command inside a diagram, I was hoping that the diagram would be split into two parts (pages) but still displayed as part of the same image in the rendered Asciidoc.I don't want to duplicate the Actor and Use Case definitions in two separate diagrams. I'm willing to put the PlantUML markdown in a separate file if that will help render both "pages".
Is there a way to do this with the current code? If not, please consider this an enhancement request.
The text was updated successfully, but these errors were encountered: