ThinkAlexandria / elm-html-in-elm / ElmHtml.ToHtml

This module is particularly useful for putting parsed Html into Elm.Html at runtime. Estentially allowing the user to use tools like html-to-elm on their code.

toHtml : ElmHtml.InternalTypes.ElmHtml msg -> Html msg

Turns ElmHtml into normal Elm Html

factsToAttributes : ElmHtml.InternalTypes.Facts msg -> List (Html.Attribute msg)

Turns a fact record into a list of attributes