A library for constructing type-safe and (mostly) spec-compliant HTML.
- Consider adding safer builder functions for any HTML elements with complex conditions for its permitted content, such as what was done with
Brigid.HTML.Elements.Safe.Table
. Go through the entire list of elements again to determine what qualifies for this. - For each of global, HTMX, event listeners, arias, and scoped attributes:
- Make constructors for
Attribute
GADT. - Make render functions.
- Modify
ValidElementsFor
. - Modify the attribute selector functions in
HTML.Types.QuerySelector
to take their appropriate types.
- Make constructors for
- Add support for the SVG tag.
- Add support for MathML.
- Look into safely constructing Shadow DOM elements.
- Add support for XML.
- Add function to produce an XML WSDL from a provided Brigid XML structure?
- Add support for HXML.
- Change all
ToText
andToBytes
functions to use builders? Export them for use in render, but not fromBrigid.HTML.Types
.