-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
58 lines (58 loc) · 1.01 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>MarkIt</title>
<style>
body {
font-family: sans-serif;
font-size: 125%;
padding: 2em;
color: #333;
}
textarea {
width: 100%;
height: 10em;
padding: 1em;
font-size: 1em;
color: inherit;
box-sizing: border-box;
border: 1px solid #999;
}
.markit-formats {
border: 1px solid #999;
border-bottom: none;
overflow: hidden;
}
.markit-formats a {
display: block;
float: left;
padding: 0.5em 1em;
border-right: 1px solid #999;
color: #333;
text-decoration: none;
}
.markit-formats a:hover {
background: #EEE;
}
.markit-formats .markit-bold {
font-weight: bold;
}
.markit-formats .markit-italic {
font-style: italic;
}
.markit-formats .markit-link {
color: blue;
text-decoration: underline;
}
.markit-formats .markit-list {
display: list-item;
list-style: disc inside;
}
</style>
</head>
<body>
<textarea class="markit"></textarea>
<script src="markit.js"></script>
</body>
</html>