Skip to content

Instantly share code, notes, and snippets.

@bollig
Forked from anonymous/_.md
Created August 17, 2012 03:32
Show Gist options
  • Save bollig/3375696 to your computer and use it in GitHub Desktop.
Save bollig/3375696 to your computer and use it in GitHub Desktop.
just another inlet to tributary
{"editor_editor":{"coffee":false,"vim":false,"emacs":false,"width":600,"height":300,"hide":false}}
Display the source blob
Display the rendered blob
Raw
<?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 height="42.861" viewBox="139.927 175.382 33.197 42.861" width="33.197" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><defs><path d="M283 143c0 -7 -36 -153 -128 -153c-48 0 -79 36 -79 81c0 18 6 34 12 50l70 186c8 22 21 55 21 81c0 32 -17 33 -26 33c-39 0 -77 -40 -101 -124c-4 -14 -5 -18 -14 -18c-7 0 -11 5 -11 9c0 8 37 153 129 153c49 0 79 -38 79 -80c0 -19 -7 -37 -10 -45l-70 -186 c-11 -30 -23 -60 -23 -87c0 -30 14 -33 26 -33c33 0 74 31 100 122c5 17 6 20 15 20c6 0 10 -4 10 -9zM275 624c0 -22 -23 -48 -50 -48c-12 0 -33 8 -33 33c0 26 26 48 49 48c22 0 34 -18 34 -33z" id="6917"/><path d="M489 319c0 -65 -3 -154 -40 -226c-50 -99 -136 -114 -184 -114c-53 0 -127 19 -173 93c-48 80 -51 181 -51 247c0 52 2 151 38 224c14 28 60 122 186 122c55 0 136 -22 180 -110c33 -64 44 -129 44 -236zM265 7c33 0 102 14 123 119c12 56 12 146 12 205 c0 68 0 143 -12 198c-20 91 -89 108 -123 108c-25 0 -103 -10 -124 -112c-11 -55 -11 -125 -11 -194c0 -52 0 -146 11 -203c21 -105 90 -121 124 -121z" id="3015"/><path d="M731 333h-637c-15 0 -35 0 -35 23s24 23 39 23h629c15 0 39 0 39 -23s-20 -23 -35 -23zM727 121h-629c-15 0 -39 0 -39 23s20 23 35 23h637c15 0 35 0 35 -23s-24 -23 -39 -23z" id="3d15"/><path d="M298 624c0 -30 -29 -54 -55 -54c-23 0 -39 16 -39 38c0 30 29 54 55 54c23 0 39 -16 39 -38zM152 257l27 69c10 30 11 44 11 54c0 28 -10 33 -24 33c-30 0 -76 -27 -104 -122c-3 -10 -4 -16 -17 -16c-8 0 -15 4 -15 13c0 13 42 153 139 153c51 0 91 -35 91 -85 c0 -17 -12 -48 -21 -71l-31 -81c-11 -27 -21 -54 -31 -81c-13 -31 -20 -49 -20 -73c0 -27 12 -32 24 -32c40 0 81 41 104 121c3 10 5 17 17 17c7 0 15 -3 15 -13c0 -13 -41 -153 -138 -153c-53 0 -91 36 -91 85c0 17 5 29 10 44z" id="6918"/><path d="M253 334h-50c-17 0 -26 0 -26 14c0 13 8 14 27 15c61 4 84 6 114 37c14 16 43 58 43 128c0 103 -76 111 -102 111c-18 0 -95 -3 -137 -58c22 -1 54 -15 54 -52c0 -29 -20 -51 -51 -51c-26 0 -51 16 -51 53c0 76 81 134 188 134c104 0 194 -57 194 -137 s-59 -148 -138 -176c102 -22 168 -98 168 -181c0 -100 -93 -192 -226 -192c-114 0 -216 62 -216 157c0 40 28 57 55 57c32 0 55 -23 55 -55c0 -33 -25 -56 -61 -56c35 -53 110 -73 165 -73c53 0 124 37 124 162c0 105 -50 163 -129 163z" id="3315"/><path d="M1266 -1400h-1182c-18 0 -27 0 -27 11c0 1 0 6 10 18l518 607l-529 724c0 11 0 30 1 33c3 6 4 7 27 7h1182l121 -281h-25c-34 81 -102 126 -127 142c-79 50 -166 67 -220 75c-9 2 -100 16 -234 16h-548l466 -637c7 -10 7 -13 7 -15c0 -5 -2 -8 -9 -16l-509 -597h603 c192 0 290 26 311 31c115 30 221 98 260 202h25z" id="5823"/><path d="M314 637v-555c0 -37 3 -49 98 -49h35v-33c-41 3 -128 3 -173 3s-131 0 -172 -3v33h35c95 0 98 12 98 49v513c-58 -27 -112 -27 -139 -27v33c95 0 148 24 189 64c27 0 29 -1 29 -28z" id="3115"/></defs><g transform="scale(1.25)"><g transform="scale(0.008,-0.008)"><g transform="translate(14195.199,-18203.195)"><use xlink:href="#3115"/><use x="531" xlink:href="#3015"/><use x="1062" xlink:href="#3015"/></g></g><g transform="scale(0.012,-0.012)"><g transform="translate(9272.5,-12435.464)"><use xlink:href="#5823"/></g></g><g transform="scale(0.008,-0.008)"><g transform="translate(14132.385,-21814.3)"><use xlink:href="#6918"/><use x="361" xlink:href="#3d15"/><use x="1187" xlink:href="#3115"/></g></g><g transform="scale(0.012,-0.012)"><g transform="translate(10883.612,-13385.468)"><use xlink:href="#6917"/></g></g><g transform="scale(0.008,-0.008)"><g transform="translate(16826.418,-19458.866)"><use xlink:href="#3315"/></g></g></g></svg>
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Write a comment here *** Parameters: *** {:on_error=>:raise} *** Markdown input: ***

svg:svg/

<svg:svg width="600px" height="400px"> <svg:g id="group"> <svg:circle id="circ1" r="1cm" cx="3cm" cy="3cm" style="fill:red;"></svg:circle> <svg:circle id="circ2" r="1cm" cx="7cm" cy="3cm" style="fill:red;" /> </svg:g> </svg:svg>

*** Output of inspect *** md_el(:document,[ md_html("svg:svg/"), md_html("<svg:svg \nwidth="600px" height="400px">\n <svg:g id="group">\n\t<svg:circle id="circ1" r="1cm" cx="3cm" cy="3cm" style="fill:red;"></svg:circle>\n\t<svg:circle id="circ2" r="1cm" cx="7cm" cy="3cm" style="fill:red;" />\n </svg:g>\n</svg:svg>") ],{},[]) *** Output of to_html *** <svg:svg /><svg:svg height='400px' width='600px'> <svg:g id='group'> <svg:circle cy='3cm' id='circ1' r='1cm' cx='3cm' style='fill:red;' /> <svg:circle cy='3cm' id='circ2' r='1cm' cx='7cm' style='fill:red;' /> </svg:g> </svg:svg> *** Output of to_latex ***

*** Output of to_md ***

*** Output of to_s ***

*** EOF ***

Failed tests: [:inspect, :to_html]

*** Output of inspect *** -----| WARNING | ----- md_el(:document,[ md_html(""), md_html("svg:svg/"), md_html("<svg:svg \nwidth="600px" height="400px">\n <svg:g id="group">\n\t<svg:circle id="circ1" r="1cm" cx="3cm" cy="3cm" style="fill:red;"></svg:circle>\n\t<svg:circle id="circ2" r="1cm" cx="7cm" cy="3cm" style="fill:red;" />\n </svg:g>\n</svg:svg>") ],{},[]) *** Output of to_html *** -----| WARNING | -----

REXML could not parse this XML/HTML:
<svg:svg/>
REXML could not parse this XML/HTML:
<svg:svg
width="600px" height="400px">
<svg:g id="group">
<svg:circle id="circ1" r="1cm" cx="3cm" cy="3cm" style="fill:red;"></svg:circle>
<svg:circle id="circ2" r="1cm" cx="7cm" cy="3cm" style="fill:red;" />
</svg:g>
</svg:svg>
*** Output of to_latex ***

*** Output of to_md ***

*** Output of to_s ***

*** Output of Markdown.pl *** (not used anymore) *** Output of Markdown.pl (parsed) *** (not used anymore)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment