-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
96 lines (96 loc) · 2.1 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Markdown Editor</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
</head>
<body>
<h1>Markdown Editor</h1>
<div id="editor"></div>
<br />
<h3>Keyboard shortcuts</h3>
<div>
<table>
<thead>
<tr>
<th>Action</th>
<th>Shortcut</th>
</tr>
</thead>
<tr>
<td>toggle bold:</td>
<td>Ctrl-B</td>
</tr>
<tr>
<td>toggle italic:</td>
<td>Ctrl-I</td>
</tr>
<tr>
<td>toggle strikethrough:</td>
<td>Ctrl-K</td>
</tr>
<tr>
<td>toggle unorderedList:</td>
<td>Ctrl-L</td>
</tr>
<tr>
<td>toggle orderedList:</td>
<td>Shift-Ctrl-L</td>
</tr>
<tr>
<td>toggle checkList:</td>
<td>Shift-Ctrl-Alt-L</td>
</tr>
<tr>
<td>toggle quote:</td>
<td>Ctrl-Q</td>
</tr>
<tr>
<td>insert link:</td>
<td>Ctrl-M</td>
</tr>
<tr>
<td>insert imageLink:</td>
<td>Shift-Ctrl-M</td>
</tr>
<tr>
<td>insert table:</td>
<td>Ctrl-Alt-T</td>
</tr>
<tr>
<td>insert horizontal rule:</td>
<td>Shift-Ctrl--</td>
</tr>
<tr>
<td>toggle inline code:</td>
<td>Ctrl-7</td>
</tr>
<tr>
<td>insert code block:</td>
<td>Shift-Ctrl-7</td>
</tr>
<tr>
<td>open markdown guide:</td>
<td>F1</td>
</tr>
<tr>
<td>toggle rich-text mode:</td>
<td>Alt-R</td>
</tr>
<tr>
<td>download as file:</td>
<td>Shift-Ctrl-S</td>
</tr>
<tr>
<td>import from file:</td>
<td>Ctrl-Alt-I</td>
</tr>
<tr>
<td>format content:</td>
<td>Alt-F</td>
</tr>
</table>
</div>
</body>
</html>