HtmlConverter
object HtmlConverter
Bidirectional bridge between joy-dom Spec and HTML.
The forward path (toHtml) emits a self-contained HTML representation of a Spec (style map and breakpoints flow into a <style> block by default).
The reverse path (fromHtml) parses HTML that this converter produced (and reasonably close variants) back into a Spec. It is best-effort, not a general HTML/CSS importer.