src/lib/profiles/templates.ts
import Mustache from 'mustache'
// Disable HTML escaping — we're generating markdown, not HTML
Mustache.escape = (text: string) => text
export function renderTemplate(template: string, vars: Record<string, string>): string {
return Mustache.render(template, vars)
}