This repository has been archived by the owner on Oct 29, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
177 lines (173 loc) · 7.75 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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
<script type="text/javascript" src="../legacy-ext/libs/jquery/dist/jquery.min.js"></script>
<script type="text/javascript" src="../legacy-ext/libs/bootstrap/dist/js/bootstrap.min.js"></script>
<script type="text/javascript" src="../legacy-ext/libs/i18next/i18next.min.js"></script>
<script type="text/javascript" src="../legacy-ext/libs/jquery-i18next/jquery-i18next.min.js"></script>
<script type="text/javascript" src="../legacy-ext/libs/marked/marked.min.js"></script>
<script type="text/javascript" src="../legacy-ext/common.js"></script>
<!--<script type="text/javascript" src="../../libs/mousetrap/mousetrap.min.js"></script>-->
<script type="text/javascript" src="libs/codemirror/lib/codemirror.js"></script>
<script type="text/javascript" src="libs/codemirror/addon/mode/loadmode.js"></script>
<script type="text/javascript" src="libs/codemirror/addon/dialog/dialog.js"></script>
<script type="text/javascript" src="libs/codemirror/addon/search/searchcursor.js"></script>
<script type="text/javascript" src="libs/codemirror/addon/search/search.js"></script>
<script type="text/javascript" src="libs/codemirror/addon/scroll/annotatescrollbar.js"></script>
<script type="text/javascript" src="libs/codemirror/addon/search/matchesonscrollbar.js"></script>
<script type="text/javascript" src="libs/codemirror/addon/search/jump-to-line.js"></script>
<script type="text/javascript" src="libs/codemirror/addon/selection/active-line.js"></script>
<!--script type="text/javascript" src="libs/codemirror/addon/fold/foldcode.js"></script>
<script type="text/javascript" src="libs/codemirror/addon/fold/indent-fold.js"></script>
<script type="text/javascript" src="libs/codemirror/addon/fold/foldgutter.js"></script>
<script type="text/javascript" src="libs/codemirror/addon/fold/brace-fold.js"></script>
<script type="text/javascript" src="libs/codemirror/addon/fold/xml-fold.js"></script>
<script type="text/javascript" src="libs/codemirror/addon/fold/markdown-fold.js"></script>
<script type="text/javascript" src="libs/codemirror/addon/fold/comment-fold.js"></script--->
<script type="text/javascript" src="libs/codemirror/addon/selection/mark-selection.js"></script>
<script type="text/javascript" src="main.js"></script>
<link rel="stylesheet" href="libs/codemirror/addon/fold/foldgutter.css"/>
<!--<link rel="stylesheet" href="../../assets/tagspaces.css"/>-->
<link rel="stylesheet" href="libs/codemirror/lib/codemirror.css"/>
<link rel="stylesheet" href="extension.css"/>
<link rel="stylesheet" href="libs/codemirror/addon/dialog/dialogs.css">
<link rel="stylesheet" href="libs/codemirror/addon/search/matchesonscrollbar.css">
<base>
</head>
<body>
<div id="editorText"></div>
<div class="btn-group dropup extMainMenu">
<button id="viewerMainMenuButton" type="button" class="btn roundButton dropdown-toggle viewerMainMenuButton"
data-toggle="dropdown">
<i class="fa fa-ellipsis-v fa-2x"></i>
</button>
<ul class="dropdown-menu pull-right">
<li class="dropdown-header">
<button class="close">×</button>
</li>
<!--<li class="divider"></li>-->
<!--<li><a id="changeStyleButton">-->
<!--<i class="fa fa-adjust fa-lg fa-fw"></i> <span data-i18n="changeTheme"></span>-->
<!--</a></li>-->
<li><a id="printButton">
<i class="fa fa-print fa-lg fa-fw"></i> <span data-i18n="print"></span>
</a></li>
<li><a id="markdownPreview">
<i class="fa fa-eye fa-lg fa-fw"></i> <span data-i18n="markdownPreview"></span>
</a></li>
<li><a id="mdHelpButton">
<i class="fa fa-info fa-lg fa-fw"></i> <span data-i18n="markdownHelpButton"></span>
</a></li>
<li><a id="aboutButton">
<i class="fa fa-comment fa-lg fa-fw"></i> <span data-i18n="about"></span>
</a></li>
</ul>
</div>
<div class="modal" id="aboutExtensionModal" tabindex="-1" role="dialog" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" id="closeAboutDialogButton" class="close" data-dismiss="modal" aria-hidden="true"><i
class="fa fa-times"></i></button>
<h4 class="modal-title" data-i18n="aboutTitle"></h4>
</div>
<div class="modal-body">
<br>Please visit the <a href="https://github.com/tagspaces/editorText">project page</a> on GitHub for details about this extension.<br><br>
</div>
<div class="modal-footer">
<button class="btn btn-primary" data-dismiss="modal" aria-hidden="true"><i class="fa fa-check fa-lg"></i>
</button>
</div>
</div>
</div>
</div>
<div class="modal" id="markdownPreviewModal" tabindex="-1" role="dialog" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true"><i class="fa fa-times"></i></button>
<h4 class="modal-title" data-i18n="markdownTitle"></h4>
</div>
<div class="modal-body markdown-content">
</div>
<div class="modal-footer">
<button class="btn btn-primary" data-dismiss="modal" aria-hidden="true"><i class="fa fa-check fa-lg"></i>
</button>
</div>
</div>
</div>
</div>
<div class="modal" id="markdownHelpModal" tabindex="-1" role="dialog" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true"><i class="fa fa-times"></i></button>
<h4 class="modal-title" data-i18n="markdownHelpDialogTitle"></h4>
</div>
<div class="modal-body">
<table>
<tbody>
<tr>
<td><strong>Bold</strong></td>
<td>**bold**</td>
</tr>
<tr>
<td><i>Italics</i></td>
<td>*italics*</td>
</tr>
<tr>
<td>
<del>Strikethrough</del>
</td>
<td>~~strikethrough~~</td>
</tr>
<tr>
<td>Header</td>
<td># H1 ## H2 ### H3</td>
</tr>
<tr>
<td>
<li>item</li>
</td>
<td>* item</td>
</tr>
<tr>
<td>Blockquote</td>
<td>> blockquote</td>
</tr>
<tr>
<td><a href="https://www.youtube.com/watch?v=8rMo5EFAqgM" target="_blank">Link</a></td>
<td>[title](http://)</td>
</tr>
<tr>
<td>Image</td>
<td>![alt](http://)</td>
</tr>
<tr>
<td><code>code</code></td>
<td>`code`</td>
</tr>
<tr>
<td>
<pre style="display: inline-block; margin: 4px 0"><code><span class="keyword">var </span>code = <span
class="string">"formatted"</span>;</code></pre>
</td>
<td style="line-height: 100%">``` <i style="color: rgba(0,0,0,0.5)">(for line break click
shift+enter)</i><br>var code = "formatted";<br>```
</td>
</tr>
</tbody>
</table>
</div>
<div class="modal-footer">
<button class="btn btn-primary" data-dismiss="modal" aria-hidden="true"><i class="fa fa-check fa-lg"></i>
</button>
</div>
</div>
</div>
</div>
</body>
</html>