Function template

  • Poor girl's handlebars

    Parameters

    • content: string

      the template content

    • Optionaldata: any

      the data object

    • Optionalconfig: TemplateConfig

      the template configuration, where you can specify additional filters available inside the template

    Returns Promise<string>

    the template result string