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

Make the plugin work on servers/wsl/headless mode #64

Merged
merged 2 commits into from
Apr 13, 2022

Conversation

jodojodo
Copy link
Contributor

Normally plantuml requires an X11 server. This is not necessary for this plugin and prevents it to work on wsl or server, even if the wsl can open a browser on the host and the server could save the image somewhere. Therefore I've added the headless mode flag to the plantuml call.

Update save-as.sh, according to https://plantuml.com/faq#239d64f675c3e515 to enable
the plugin on servers/the wsl.
Update similarly to save-as according to https://plantuml.com/faq#239d64f675c3e515 in order to make the plugin work on servers/the wsl.
@weirongxu weirongxu merged commit f51d50b into weirongxu:master Apr 13, 2022
@weirongxu
Copy link
Owner

Thank you! 🎉

@jodojodo jodojodo deleted the patch-1 branch April 13, 2022 12:00
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

Successfully merging this pull request may close these issues.

None yet

2 participants