Find file
Fetching contributors…
Cannot retrieve contributors at this time
33 lines (32 sloc) 1.33 KB
<html>
<head>
<title>Markdown Rendering via GitHub API</title>
<link href="http://developer.github.com/css/reset.css" rel="stylesheet" type="text/css" />
<link href="http://developer.github.com/css/960.css" rel="stylesheet" type="text/css" />
<link href="http://developer.github.com/css/uv_active4d.css" rel="stylesheet" type="text/css" />
<link href="http://developer.github.com/shared/css/documentation.css" media="screen" rel="stylesheet" type="text/css">
<link href="http://developer.github.com/shared/css/pygments.css" media="screen" rel="stylesheet" type="text/css">
<script src="http://developer.github.com/shared/js/jquery.js" type="text/javascript"></script>
<script src="http://developer.github.com/shared/js/documentation.js" type="text/javascript"></script>
<script src="/socket.io/socket.io.js" type="text/javascript"></script>
<script type="text/javascript">
$(function() {
var socket = io.connect();
socket.on('connect', function() {
console.log('connect');
socket.on('md', function(data) {
console.log(data);
$('div.content').html(data);
});
});
});
</script>
</head>
<body class="api">
<div id="remain"></div>
<div id="wrapper">
<div class="content">
</div>
</div>
</body>
</html>