renderTemplate
Generic types: | T |
Renders a template with the given options via Nunjucks.
Presentation
function renderTemplate (
template: string,
options?: NgDocRendererOptions <T> | undefined,
): string;
Returns
string
Parameters
Name | Type | Description |
---|---|---|
template | string | The template path to render. |
options |
| The options to render the template with. |