quot;&quot;markdown-body&quot;&quot;&gt;
        {docRender.Response!.Preview!}
    &lt;/div&gt;
&lt;/div&gt;&quot;;
        var prerenderedPage = indexPage.Render(mdBody);
        string htmlPath = Path.GetFullPath(Path.Combine(dstDir, $&quot;{name}.html&quot;));
        File.WriteAllText(htmlPath, prerenderedPage);
        WriteLine($&quot;Written to {htmlPath}&quot;);
    }
}

public class PageTemplate
{
    string? Header { get; set; }
    string? Footer { get; set; }

    public PageTem