public string GetHtmlOfPage(string pageName) { var html = _markdown.Transform(_storage.GetFileContents(pageName)); html = _wrapper.ReplaceFileReferences(html); if (string.IsNullOrEmpty(html)) { html = "<span style='color: Silver'>(This page is blank. Click the Edit button to add content.)</span>"; } return(_wrapper.Wrap(pageName, html)); }