Created
August 11, 2014 04:06
-
-
Save leonardosantos/005e9706e0948254bfe5 to your computer and use it in GitHub Desktop.
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
<title>Markdown for restazero</title> | |
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script> | |
<script type="text/javascript"> | |
$(function(){ | |
var pathname = location.pathname; | |
if (pathname == '/' || pathname == '') | |
pathname = '/md/README.md' | |
$.get('//restazero.herokuapp.com'+pathname, function(content){ | |
document.write("<xmp theme='united' style='display:none;'>"+content+"</xmp>"); | |
}).fail(function(){ | |
document.write("<xmp theme='united' style='display:none;'># Error</xmp>"); | |
}).always(function(){ | |
document.write("<scr"+"ipt src='//strapdownjs.com/v/0.2/strapdown.js'></scr"+"ipt>"); | |
}); | |
}); | |
</script> | |
</head> | |
<body> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment