vibe.d beta banner
get vibe.d
0.10.1

Asynchronous I/O that doesn’t get in your way, written in D

Function getHTMLLiveMixin

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"
) @safe;
Authors
Copyright
License