This repository has been archived by the owner on Nov 23, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 48
/
index.html
executable file
·73 lines (63 loc) · 2.07 KB
/
index.html
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<!DOCTYPE html>
<html>
<head>
<title>ditto</title>
<!-- JQUERY -->
<script src="https://code.jquery.com/jquery-1.11.0.min.js"></script>
<script src="https://code.jquery.com/ui/1.10.4/jquery-ui.min.js"></script>
<!-- MARKED -->
<script src="//chutsu.github.io/ditto/ver/latest/marked.js"></script>
<!-- HIGHLIGHT.JS -->
<link rel="stylesheet" href="//chutsu.github.io/ditto/ver/latest/github.css">
<script src="https://chutsu.github.io/ditto/ver/latest/highlight.js"></script>
<!-- MATHJAX -->
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
tex2jax: {
inlineMath: [['$','$']],
processRefs: true
},
TeX: {
equationNumbers: {
autoNumber: "all",
formatID: function(id) { return "(" + id + ")"},
formatURL: function(id) { return null }
}
}
});
</script>
<script type="text/javascript"
src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML">
</script>
<!-- DITTO -->
<link rel="stylesheet" href="css/ditto.css">
<script src="js/ditto.js"></script>
</head>
<body>
<!-- ESSENTIAL -->
<div id="sidebar"></div>
<div id="content"></div>
<div id="hide"></div>
<!-- OPTIONAL -->
<div id="back_to_top">top</div>
<div id="edit">edit</div>
<div id="loading">Loading ...</div>
<div id="error"></div>
<!-- DITTO -->
<script>
$(function($) {
// essential settings
ditto.index = "README.md",
ditto.sidebar_file = "sidebar.md",
// optional settings if you want github search
ditto.github_username = "chutsu"; // <------- EDIT ME!!
ditto.github_repo = "ditto"; // <------- EDIT ME!!
ditto.highlight_code = false; // <------- EDIT ME!!
// where the docs are actually stored on github - so you can edit
ditto.base_url = "https://github.com/chutsu/ditto/edit/gh-pages";
// run
ditto.run();
});
</script>
</body>
</html>