forked from jserme/mahua
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
112 lines (112 loc) · 5.3 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title> MaHua 在线markdown编辑器</title>
<meta name="keywords" content="online markdown editor,markdown编辑器,在线编辑markdown" />
<meta name="description" content="MaHua是一个在线编辑markdown的工具" />
<meta name="COPYRIGHT" content="版权所有2012,http://MaHua.jser.me/">
<link href="mahua.css?v=3" rel="stylesheet" type="text/css" />
<link rel="shortcut icon" href="favicon.png" type="image/vnd.microsoft.icon" />
</head>
<body>
<div class="mahua-container">
<div id="mahua-docname" class="mahua-docanme"></div>
<ul class="mahua-topbar" id="mahua-topbar">
<li class="mahua-github" id="mahua-github"><a href="https://github.com/jserme/mahua" target="_blank"><img src="./github.png" /></a></li>
<li class="mahua-config" id="mahua-config"></li>
<li class="mahua-session" id="mahua-session"></li>
</ul>
<div class="mahua-toolbar" style="display:none" id="mahua-toolbar">
<table cellspacing="0">
<tr>
<td>
<label for="mahua-changeSession">选择文档</label>
</td>
<td>
<select id="mahua-changeSession" name=""> </select>
<a href="javascript:;" id="mahua-removeSession">删除</a>
</td>
</tr>
<tr>
<td>
<label for="mahua-editorThemes">编辑器主题</label>
</td>
<td>
<select id="mahua-editorThemes" name=""> </select>
</td>
</tr>
<tr>
<td>
<label for="mahua-previewThemes">预览主题</label>
</td>
<td>
<select id="mahua-previewThemes" name=""></select>
</td>
</tr>
<tr>
<td colspan="2">
<table cellspacing="0">
<tr>
<td>
<label for="mahua-keyboard">VIM快捷键</label>
</td>
<td>
<input id="mahua-keyboard" type="checkbox" checked class="checkbox" value="" name="" />
</td>
</tr>
<tr>
<td>
<label for="mahua-linenum">行号<label>
</td>
<td>
<input id="mahua-linenum" type="checkbox" checked class="checkbox" value="" name="" />
</td>
</tr>
<tr>
<td>
<label for="mahua-attachInfo">附加MaHua信息<label>
</td>
<td>
<input id="mahua-attachInfo" type="checkbox" checked class="checkbox" value="" name="" />
</td>
</tr>
<tr>
<td>
<label for="mahua-syncRoll">自动滚动<label>
</td>
<td>
<input id="mahua-syncRoll" type="checkbox" class="checkbox" value="" name="" />
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="2">
<input id="mahua-toggleMode" type="button" class="button" value="自定义CSS" name="" />
<input id="mahua-importSource" type="button" class="button" value="导入" name="" />
<input id="mahua-exportHTML" type="button" class="button" value="导出" name="" />
<input id="mahua-closeConfig" type="button" class="button" value="关闭设置" name="" />
</td>
</tr>
</table>
</div>
<div class="mahua-spliter" id="mahua-spliter"></div>
<div class="mahua-left">
<div id="mahua-editor" style="height:100%;width:50%;"></div>
</div>
<div class="mahua-right" id="mahua-result"> </div>
</div>
<script type="text/javascript" src="ace/ace.js"></script>
<script type="text/javascript" src="ace/keybinding-vim.js"></script>
<script type="text/javascript" src="all.js?v=5"></script>
<script type="text/javascript">
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'hm.baidu.com/h.js?f628d86243daf05c564aa17f55e27b02';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</body>
</html>