Not logged in. · Lost password · Register
Forum: General Discussion Plugins RSS
SVG support
embedding SVG files into DW pages
Chris #1
Member since Jan 2008 · 2 posts
Group memberships: Members
Show profile · Link to this post
Subject: SVG support
Hi there.

There are now two plugins (http://wiki.splitbrain.org/wiki:plugins?plugintag=svg) and a "tip" page (http://wiki.splitbrain.org/wiki:tips:svg_support?s[]=svg) available on including SVGs into DW.

However, for me none of that is satisfactory in terms of convenience. I would like to treat the SVG files just as ordinary media files (images) and include them by writing

{{mysvgfile.svg}}

This can be done by writing a plugin which connects to a pattern matching this syntax (eg. {{.+?\.svg}} ). However, I get this feeling there's a smarter way of doing it by not using a syntax plugin. Any help would be greatly appreciated. Thanks in advance!

Cheers, Chris
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please note the verification code from the picture into the text field next to it.
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
Imprint
This board is powered by the Unclassified NewsBoard software, 1.6.4, © 2003-7 by Yves Goergen
Current time: 2008-05-17, 06:31:07 (UTC +02:00)
WikiForumIRCBugsTranslate