import { NunjucksEngine } from "https://deno.land/x/lume@v2.3.3/plugins/nunjucks.ts";
Template engine to render Nunjucks files
Methods
addHelper()
name: string,
fn: Helper,
options: HelperOptions,
deleteCache(file: string): void
getTemplate(content: string, filename: string)
render(): Promise<string>
content: string,
data?: Record<string, unknown>,
filename?: string,
renderComponent(): string
content: string,
data?: Record<string, unknown>,
filename?: string,