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 multi-page puml files (newpage keyword) #45

Open
craigwardman opened this issue Apr 18, 2022 · 0 comments
Open

Comments

@craigwardman
Copy link

PUML files can contain the keyword "newpage" which splits the diagram into multiple pages.

Currently when using "node-plantuml" to render such a file, only the first page of the diagram is returned.

When using PlantUML stdout to generate files one can use the "pipeimageindex" parameter to specify which page to render. This was introduced in order to support the VS Code plugin:
https://forum.plantuml.net/?qa=6265/specify-page-when-use-stdout

I found that this has been implemented in a fork of this repository, however it's not easily merged into here as it replaces some other implementation files that I think you wouldn't want in this repo. But for an example of how they implemented it see:
https://github.com/windranger-io/node-plantuml

Since I'm using your version of "node-plantuml" via a dependency of another npm package I can't switch to the fork, so it would be great if your package could also support this.

Thanks!

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

1 participant