private static async Task<string> ConvertToHtml(string markdown) { var api = RestService.For<IGitHubApi>(baseUrl); var request = new RenderRequest() { Text = markdown, Mode = "markdown" }; return await api.Render(request); }
private static async Task <string> ConvertToHtml(string markdown) { var api = RestService.For <IGitHubApi>(baseUrl); var request = new RenderRequest() { Text = markdown, Mode = "markdown" }; return(await api.Render(request)); }