public string RenderText(string text, bool bold = false, bool italic = false)
{
if(String.IsNullOrWhiteSpace(text))
return String.Empty;
var result = text;
result = result.Replace("<code>", "`").Replace("</code>", "`");
if(bold)
result = String.Format("**{0}**", result);
if(italic)
result = String.Format("_{0}_", result);
return result;
}