-
Notifications
You must be signed in to change notification settings - Fork 12
/
wiring_2.html
39 lines (33 loc) · 1.3 KB
/
wiring_2.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
<!doctype html>
<html>
<head>
<title>Shapeoko2 - Wiring #2</title>
<!--include styles-->
<link href='http://fonts.googleapis.com/css?family=Ubuntu:300,400,700' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
<link href="shapeoko.css" rel="stylesheet" />
<!--include javascript-->
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
<script src="js/markdown.js"></script>
</head>
<body>
<script>
//load the navbar
$("body").load("include.html");
</script>
<script>
$(document).ready(function(){
$.ajax({
//change this path to the appropriate markdown file
url:"content/wiring_2.md",
dataType: "text",
success: function(response){
//here is the magic. convert markdown to html, inject it into content div
$("#content").append(markdown.toHTML(response));
}
});
});
</script>
</body>
</html>