embd

Low-level API for embedding D code into text.

Public Imports

vibe.core.stream
public import vibe.core.stream;
Undocumented in source.
vibe.templ.utils
public import vibe.templ.utils;
Undocumented in source.
vibe.textfilter.html
public import vibe.textfilter.html;
Undocumented in source.

Members

Functions

embd__createRenderingCode
string embd__createRenderingCode(string embd_code, string embd_start, string embd_end, const(dchar)[] embd_evalCodes)
Undocumented in source. Be warned that the author may not have intended to support it.
renderEmbd
void renderEmbd(HTTPServerResponse res, string content_type)

Renders an EMBD template to an output stream.

renderEmbd
void renderEmbd(OutputStream dst)
renderEmbdCompat
void renderEmbdCompat(OutputStream dst, ...)

Renders an EMBD template to an output stream.

Interfaces

Context
interface Context

The object which manages the rendering of an embd template.

Meta

License

MIT (Expat) License

Authors

Nathan M. Swan