Skip to content

Instantly share code, notes, and snippets.

@DaveSanders
Created May 18, 2012 19:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DaveSanders/2727243 to your computer and use it in GitHub Desktop.
Save DaveSanders/2727243 to your computer and use it in GitHub Desktop.
Test SVG for StackOverflow question
Display the source blob
Display the rendered blob
Raw
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG April 1999//EN" "http://www.w3.org/Graphics/SVG/svg-19990412.dtd">
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="100" height="100">
<defs>
<symbol id="arrow">
<polygon stroke-miterlimit="10" points="1.5,9.5 43.25,9.5 39.375,2.125 60.75,14.688 39.5,27.25 42.86,19.739 1.5,19.75 "></polygon>
</symbol>
</defs>
<g id="drawing">
<rect x="0" y="0" width="75" height="75" stroke="#ff0000" fill="none"/>
<use xlink:href="#arrow" x="20" y="50"></use>
</g>
</svg>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment