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

Support for specifying filename of exported diagram #2

Closed
dicastro opened this issue Dec 15, 2016 · 6 comments
Closed

Support for specifying filename of exported diagram #2

dicastro opened this issue Dec 15, 2016 · 6 comments

Comments

@dicastro
Copy link

It would be nice to be able to specify filename of exported diagram

@startuml diagram1
title Diagram 1
@enduml

File extension should be picked while exporting or from configuration

@qjebbs
Copy link
Owner

qjebbs commented Dec 17, 2016

Good idea, this could be done in the next release. For now, the plugin only uses title string as filename.

@qjebbs qjebbs closed this as completed in 9776ff4 Dec 18, 2016
@qjebbs
Copy link
Owner

qjebbs commented Dec 18, 2016

It supports your proposal now, and it has higher priority than naming by title:

@startuml diagram_name
sudoku
@enduml

@dicastro
Copy link
Author

I've just upgraded the plugin and tried it.

It works like a charm.

Thank you for developping and publishing so fast!

@rcdailey
Copy link

Sorry to dig up an old issue, but it's relevant so I thought I'd ask here. Is there a mechanism to automatically use the name of the *.plantuml file instead of a custom name (as was supported here) or title?

@MarshCastle
Copy link

+1 for this, it's hard with spaces on filenames, and just as hard with _'s in titles!
I might be missing something that would help here, so apologies if that's the case, but I can't seem to see how to save with the same filename as the source.

@qjebbs
Copy link
Owner

qjebbs commented Apr 27, 2020

If the diagram not named, and it's the first of the file, it's named with the filename

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

No branches or pull requests

4 participants