baerrach / gatsby-remark-plantuml

Gatsby Remark parser for PlantUML code blocks
Other
3 stars 4 forks source link

Support headless #7

Closed tetsuyainfra closed 4 years ago

tetsuyainfra commented 4 years ago

In my headless environment(WSL). Executing Plantuml needs option. SEE I have a message complaining about X11 or headless!

 java -jar ./lib/plantuml-jar-mit-1.2019.9/plantuml.jar
Exception in thread "main" java.awt.AWTError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.

And Test failed before the src change. I think it's probably because jest's snapshot-test has a different execution environment ?.

If there is no problem. Please test and merge.

baerrach commented 4 years ago

included in release 0.3.0