From f36b9f248c1ce420c3a4157ebd56e4337636037a Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Tue, 10 Dec 2024 09:29:24 +0000 Subject: [PATCH] Add example of saving in SVG format --- .../tiddlywiki/geospatial/docs/save-dom-to-image.tid | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/plugins/tiddlywiki/geospatial/docs/save-dom-to-image.tid b/plugins/tiddlywiki/geospatial/docs/save-dom-to-image.tid index 434f923df..fa058b2a5 100644 --- a/plugins/tiddlywiki/geospatial/docs/save-dom-to-image.tid +++ b/plugins/tiddlywiki/geospatial/docs/save-dom-to-image.tid @@ -41,3 +41,13 @@ Save the screen as an image file /> Save the screen as an image tiddler [[$:/temp/screenshot.png]] + +<$button> +<$action-sendmessage + $message="tm-save-dom-to-image" + selector="body.tc-body" + format="svg" + save-title="$:/temp/screenshot.svg" +/> +Save the screen as an image tiddler in SVG format + [[$:/temp/screenshot.svg]]