Hello all! I would like to be able to use
Browser.application with custom elements that modify the DOM. One particular use case is having an editor that renders Markdown to HTML using this. The library renders text via
Markdown.Elm.toHtml : Option -> String -> Html msg
index.html + a custom element for rendering the math text using MathJax. This messes with DOM, and
Browser.application doesn’t like that (I think that is the problem).
I’d very much like to find a way around this, but don’t understand the custom element - DOM - Browser.application interaction, so don’t know where to start.
PS. Here is one use of the above library: math-markdown-demo