Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SVG #43

Open
johnpmayer opened this issue Apr 7, 2019 · 1 comment
Open

SVG #43

johnpmayer opened this issue Apr 7, 2019 · 1 comment

Comments

@johnpmayer
Copy link

Would this be a separate project, as the SVG spec is distinct(?) from the rest of HTML5, or could this be something that could be added to this library.

Also, are the declared elements generated from a standard schema? I.e. I could imagine implementing the svg elements via code generation from the SVG XML schema

@bodil
Copy link
Owner

bodil commented Apr 8, 2019

Ideally it should be a separate project, but I don't think typed-html is flexible enough for that as it stands. I'd definitely consider merging SVG tags in if that turns out to be the case.

I found it easier to just write up the HTML elements by hand rather than writing a useful generator, tbh, but for SVG I think the opposite could be true.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants