te the pre-rendered page:</p>
<pre><code class="language-csharp">[Test]
public async Task PrerenderMarkdown()
{
    var srcDir = WwrootDir.CombineWith(&quot;content&quot;).Replace('\\', '/');
    var dstDir = WwrootDir.CombineWith(&quot;docs&quot;).Replace('\\', '/');
            
    var indexPage = PageTemplate.Create(WwrootDir.CombineWith(&quot;index.html&quot;));
    if (!Directory.Exists(srcDir)) throw new Exception($&quot;{Path.GetFullPath(srcDir)} does not exist&quot;);
    FileSystemVirtual