diff options
author | kumavis <kumavis@users.noreply.github.com> | 2016-06-05 03:32:54 +0800 |
---|---|---|
committer | kumavis <kumavis@users.noreply.github.com> | 2016-06-05 03:32:54 +0800 |
commit | 5d9ced3c058d44524f37600bea076ca09da1d9bd (patch) | |
tree | 4ff74702bc1124ab52b441876b95d9b25d5659ce /svg-notifications.md | |
parent | d64fef63330b3e9084d7cc3dd3741db2ab03fdf7 (diff) | |
download | tangerine-wallet-browser-5d9ced3c058d44524f37600bea076ca09da1d9bd.tar tangerine-wallet-browser-5d9ced3c058d44524f37600bea076ca09da1d9bd.tar.gz tangerine-wallet-browser-5d9ced3c058d44524f37600bea076ca09da1d9bd.tar.bz2 tangerine-wallet-browser-5d9ced3c058d44524f37600bea076ca09da1d9bd.tar.lz tangerine-wallet-browser-5d9ced3c058d44524f37600bea076ca09da1d9bd.tar.xz tangerine-wallet-browser-5d9ced3c058d44524f37600bea076ca09da1d9bd.tar.zst tangerine-wallet-browser-5d9ced3c058d44524f37600bea076ca09da1d9bd.zip |
Update svg-notifications.md
Diffstat (limited to 'svg-notifications.md')
-rw-r--r-- | svg-notifications.md | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/svg-notifications.md b/svg-notifications.md index fdbb640c1..577e7d07c 100644 --- a/svg-notifications.md +++ b/svg-notifications.md @@ -4,7 +4,7 @@ Taking advantage of this might allow us to show nicely formatted notifications build a template using pure svg: -``` +```svg <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' /> @@ -22,7 +22,8 @@ generate uri `'data:image/svg+xml;charset=utf-8,'+encodeURIComponent(svgSrc)` or svg-embedded html: -``` + +```svg <svg xmlns="http://www.w3.org/2000/svg" width="800" height="500"> <rect x='0' y='0' width='100%' height='100%' fill='white' /> <foreignObject class="node" x="46" y="22" width="200" height="300"> |