html_lustre_converter

Functions

pub fn convert(html: String) -> String

Convert a string of HTML in to the same document but using the Lustre HTML syntax.

The resulting code is expected to be in a module with these imports:

import lustre/element/html
import lustre/attribute.{attribute}
import lustre/element.{element, text}
Search Document