-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathindex.html
More file actions
26 lines (26 loc) · 858 Bytes
/
index.html
File metadata and controls
26 lines (26 loc) · 858 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap-theme.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/showdown/1.4.3/showdown.min.js"></script>
</head>
<body>
<div class="container" id="content">
</div>
<script>
$(function(){
var disableCacheMatch = window.location.search.match(/refresh/),
options = {};
if (disableCacheMatch) {
options.cache = false;
}
$.get('README.md', options).then(function(text, content, xhr) {
var converter = new showdown.Converter();
$('#content').html(converter.makeHtml(text));
});
});
</script>
</body>
</html>