static public String RenderGithubMarkdow(String markdown)
{
var webClient = new WebClient();
webClient.Headers.Add("User-Agent", "ghmd-renderer");
webClient.Headers.Add("Content-Type", "text/x-markdown");
return webClient.UploadString("https://api.github.com/markdown/raw", "POST", markdown);
}
Related posts:
No comments:
Post a Comment