Skip to content

Instantly share code, notes, and snippets.

@moyhig
Created November 5, 2012 13:15
Show Gist options
  • Save moyhig/4017136 to your computer and use it in GitHub Desktop.
Save moyhig/4017136 to your computer and use it in GitHub Desktop.
2012/11/05
function jaxer_markdown (url) {
var text = Jaxer.Web.get(url, { as: 'text' });
var data = { text: text, mode: "gfm" };
var html = Jaxer.Web.post("https://api.github.com/markdown", JSON.encode(data));
return(html);
}
jaxer_markdown.proxy = true;
@moyhig
Copy link
Author

moyhig commented Nov 5, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment