Skip to content

Instantly share code, notes, and snippets.

@nicksheffield
Created August 19, 2015 00:25
Show Gist options
  • Select an option

  • Save nicksheffield/28b3f73b0a6b0c517636 to your computer and use it in GitHub Desktop.

Select an option

Save nicksheffield/28b3f73b0a6b0c517636 to your computer and use it in GitHub Desktop.
<snippet>
<content><![CDATA[
<?xml version="1.0"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="${1}" height="${2}" viewBox="0 0 ${1} ${2}">
${3}
</svg>
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>svg-preset</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>text.xml</scope>
</snippet>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment