This returns a "live" version of the mixin. The live version generates the code skeleton and then accepts a list of HTML strings that go between the code to output. This way, you can read the diet template at runtime, and if any non-code changes are made, you can avoid recompilation.
string getHTMLLiveMixin (
in const(Document) doc,
string range_name = "_diet_output",
string htmlPiecesMapName = "_diet_html_strings"