Closed marvinjuette closed 9 months ago
What features would you need for this? Why doesn't this already work for you?
When I save the file as file.svg
I get the error error: no escaper defined for extension 'svg'
which then causes problems with the Template Macro.
So #[derive(Template)]
this line does not work in my code, when I use a file with a SVG extension.
As a workaround, I simply use the HTML file extension and everything works fine. But I thought it would be nice to have native SVG support ^^
Hope this helps :D
Okay, well, if you adjust TEXT_TYPES
and DEFAULT_ESCAPERS
it should work. Maybe submit a PR?
solved with #902
Hey, it would be awesome to be able to use this library for SVG files too.
I want to render some standardized images with varying text, for which the templating would come in handy :D