schell / mogwai

The minimalist, obvious, graphical, web application interface
428 stars 26 forks source link

Render complex svg easily #75

Closed charleschege closed 3 years ago

charleschege commented 3 years ago

The svg example works due to its simplicity, but It's not clear how to render complex svg elements for example https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=78d7338cb9955c8faabae0aba23586d7

How would you use builder macro to render that?

charleschege commented 3 years ago

Things like icons and svg logos have complex svg markup, an easy way to render this is necessary

schell commented 3 years ago

I think the issue was that each node needs to have the xmlns attribute.