diff --git a/to_svg.sh b/to_svg.sh index af174c7..75c4f87 100755 --- a/to_svg.sh +++ b/to_svg.sh @@ -4,3 +4,4 @@ echo ::debug::'$2:' "$2" EXCALIDRAW=$(jq '{"type": .type, "version": .version, "source": .source, "elements": .elements, "appState": {"gridSize": null, "exportWithDarkMode": '"$2"'}}' "$1") echo ::debug::'$EXCALIDRAW' "$EXCALIDRAW" curl localhost:8080/excalidraw/svg --data-raw "$EXCALIDRAW" > "$1.svg" +echo ::debug::"svg: $(cat $1.svg)"