@ng-doc/builder / Function

renderTemplateString

Generic types:T

Renders a template string with the given options via Nunjucks.

Presentation

function renderTemplateString(
  template: string,
  options: NgDocRendererOptions<T>,
): string;

Returns

string

Parameters

NameTypeDescription
template
string

@param template - The template string to render.

options
NgDocRendererOptions<T>

@param options - The options to render the template with.