sargon.textmac
Text macro processor License:Boost License 1.0 Authors:
Walter Bright Source:
src/sargon/textmac.d
- string expand(const(char)[] text, string[string] table, bool html = false);
- Expand macro.
The macro processor is the same one used in Ddoc.
Parameters:
Returns:const(char)[] text source text to expand string[string] table table of name=value macro definitions bool html true if recognize HTML tags and comments
The source text after macro expansion. The return string is GC allocated.