vibe.d beta banner
get vibe.d
0.10.1

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

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

NameDescription
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.

Authors
Copyright
License