Renders shortcodes in the input documents.
Usage
-
Shortcodes(bool preRender = false)
Renders shortcodes in the input documents using the default start and end delimiters.
preRender
Indicates if the module is being executed pre-template-rendering (
true
) or post-template-rendering (false
). The default delimiters are different depending on when the module is executed.
-
Shortcodes(string startDelimiter, string endDelimiter)
Renders shortcodes in the input documents using custom start and end delimiters.
startDelimiter
The shortcode start delimiter.
endDelimiter
The shortcode end delimiter.