Does Hypergen handle SVG? #25
Replies: 3 comments 2 replies
-
Hi, great to hear someone is checking out the project :) No you are right all the svg tags are not built into hypergen to avoid spamming the namespace. Let me get back to you on how to get them. |
Beta Was this translation helpful? Give feedback.
-
Awesome, thanks Rune Kaagaard ~ I thought I was going nuts :D I'll be pleased to ditch my AJAX libs if Hypergen can handle this. Cheers! |
Beta Was this translation helpful? Give feedback.
-
Hi, I just push a small svg demo at e9367a6 where I've created the missing svg elements in the svg.py file that you can copy to your own project. You can see the demo here: https://hypergen.it/misc/svg_demo/ Do let me know if you hit any issues :) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Rune Kaagaard, hope you're well today :)
I'm loving Hypergen. Talk about tidying things up! Thanks.
Does Hypergen handle SVG? Such as:
[Credit w3schools.com]
which hyperfy.py returns as:
Which fails with:
NameError: name 'circle' is not defined
I've been rooting around in Hypergen's docs and source, but can't find any references, apols if I'm missing the obvious.
Thanks in advance,
Pete
Beta Was this translation helpful? Give feedback.
All reactions