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
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
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
Chris
Show profile
Link to this post