-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.html
57 lines (46 loc) · 1.32 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Markdown Extra Editor</title>
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1">
<link rel="icon" type="image/png" href="css/edit.png" />
<!-- optional include Font-Icons for the Menu -->
<link rel="stylesheet" type="text/css" href="font/css/fontello.css" />
<!-- CSS for the Editor -->
<link rel="stylesheet" type="text/css" href="css/markdown-extra-editor.css" />
<!-- if you want a Print-Preview use this -->
<link rel="stylesheet" type="text/css" href="css/print.css" media="print" />
<style>
/* just for this Page */
body {
font-family: sans-serif;
padding: 0;
margin: 0;
}
#myWrapper, #myWrapper2 {
width:600px;
height:400px;
border: 1px solid #f00;
}
</style>
</head>
<body>
<!-- textarea within the wrapper is used as input (= non-js-fallback) -->
<div id="myWrapper">
<textarea></textarea>
</div>
<!-- automagically created a textarea on wrappers without one -->
<div id="myWrapper2"></div>
<!-- include 2 Javascript-Files -->
<script src="js/js-markdown-extra.js"></script>
<script src="js/markdown-extra-editor.js"></script>
<script>
// initialize Markdown Extra Editor
var x = new mee;
x.init('myWrapper');
var y = new mee;
y.init('myWrapper2');
</script>
</body>
</html>