aboutsummaryrefslogtreecommitdiffstats
path: root/svg-notifications.md
diff options
context:
space:
mode:
Diffstat (limited to 'svg-notifications.md')
-rw-r--r--svg-notifications.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/svg-notifications.md b/svg-notifications.md
index bbb74da79..fd3b63f7a 100644
--- a/svg-notifications.md
+++ b/svg-notifications.md
@@ -12,6 +12,9 @@ Heres some utilities for preparing the data uri:
build a template using pure svg:
+generate uri
+'data:image/svg+xml;charset=utf-8,'+encodeURIComponent(svgSrc)
+
<svg xmlns='http://www.w3.org/2000/svg'
width='1000px' height='500px' viewBox='0 0 200 100'>
<rect x='0' y='0' width='100%' height='100%' fill='white' />