Created
November 5, 2012 13:15
-
-
Save moyhig/4017136 to your computer and use it in GitHub Desktop.
2012/11/05
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
http://higashida.net/manabu/TAOSW/2012/11/000023.html