Open SieDa opened 6 hours ago
I can't reproduce your issue since relative images are resolved like expected as you can see here:
What exactly do you mean with
I tried to output the JAVA_HOME global variable
Why and how are you trying to output it? Please be more specific about your issue / problem.
BR, Philipp
%getenv("$JAVA_HOME")
%getenv("JAVA_HOME")
%get_variable_value("JAVA_HOME")
%get_variable_value("$JAVA_HOME")
While in git bash: echo $JAVA_HOME provides the path to the JRE.
Description As #30 fixed the !include (support ./ and ../ and the %dirpath(), %filename() usage in this PlugIn, there are two issues left in that example - might be, they are related somehow:
1. the header image As shown in #30 code example, if you remove the comment, the simple placement of an png-img still leads to the error message: "Cannot Decode", while this is processed correctly in the git bash command line for the same PlantUML Version.
Expected behavior
Should place an img to the header, which is in the same directory as the source file, and relative paths should work as well: ./imgage.png or ../img/image.png should work as well.
Is it possible to specify, that the embedded image can be defined as SVG and that the output is directly povided in high quality and well readable SVG in any scaling?
2. the access to global variables: I tried to output the JAVA_HOME global variable - still does not work.
Environment
Referencing I recognized some discussions adressing such similar to other plugins / SVG usage, but can not identify any help from that in N++: