Esc

append_html

procedureextensionexperimentalsince 0.36.1Source
  • macOS: append_html works on macOS
  • Linux: append_html works on Linux
  • Windows: append_html works on Windows
  • Wasm: append_html is not available on Wasm

Appends checked markup.

Signature

append_html :: (out: *Out, s: Html)
Example
out: Out;
defer deinit(*out);
append_html(*out, cast(Html) ("<br>"));
assert(to_string(*out) == "<br>");

See also