• Render a Handlebars template file to sanitized HTML using Foundry's template renderer.

    Parameters

    • template: FilePath

      Path to the Handlebars template to render.

    • data: PlainObject = {}

      Context data supplied to the template.

    Returns Promise<HTMLString>

    The rendered, sanitized HTML.