I would like to use HEEx as a templating library independent of LiveView. Basically, I want something like Handlebars. However, all the examples in the docs show a tight integration between HEEx and conn/assigns to render directly to the LiveView or as part of an HTML response.
I would instead like to use it like:
html = get_results("path/to/heex/file", %{"someContextVar" => "my value"})
Is this possible?