Function getHTMLMixin
Returns a mixin string that generates HTML for the given DOM tree.
string getHTMLMixin
(
const(Document) doc,
string range_name = "_diet_output",
HTMLOutputStyle style = cast(HTMLOutputStyle)0
);
Parameters
Name | Description |
---|---|
doc | The root nodes of the DOM tree. |
range_name | Optional custom name to use for the output range, defaults
to _diet_output . |
style | Output style to use. |
Returns
A string of D statements suitable to be mixed in inside of a function.