[pmwiki-users] Ascii SVG
Patrick R. Michaud
pmichaud at pobox.com
Sat Jun 2 12:21:18 CDT 2007
On Sat, Jun 02, 2007 at 10:33:33AM -0500, Robert Fant wrote:
> Greetings,
>
> This is "wish-list" item. No, I'm begging, for someone to consider the
> idea of adapting the ASCII SVG plugin (found in ASciencePad and
> TiddlerWiki) for PMWiki. This tool, along with the wonderfully adapted
> jsMath recipe, would be the "cat's MEOW" for us high school math teacher
> types.
What markup would you want to see for invoking ASCII SVG? Perhaps something
like...?
(:asciisvg width=300 height=300 :) [=
initPicture(0,1,0)
a=[0,0]; b=[1,1]
rect(a,b)
stroke="red"
ellipse([.5,.5],.5,.25)
stroke="blue"
ellipse([.5,.5],.25,.5)
=]
Or perhaps...?
(:asciisvg width=300 height=300 :)
initPicture(0,1,0)
a=[0,0]; b=[1,1]
rect(a,b)
stroke="red"
ellipse([.5,.5],.5,.25)
stroke="blue"
ellipse([.5,.5],.25,.5)
(:asciisvgend:)
I'm open for other suggestions. It doesn't seem like it would be at
all difficult to implement, if we can just comeup with a reasonable
markup sequence for it.
Pm
More information about the pmwiki-users
mailing list