-
Notifications
You must be signed in to change notification settings - Fork 5
/
index.html
49 lines (49 loc) · 1.71 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
<!DOCTYPE html>
<html>
<head>
<title>JaxMark Editor: Markdown with LaTeX</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" type="text/css" href="example/main.css" />
</head>
<body>
<div id="wrap">
<div id="head">
<span id="logo"><a href="https://github.com/zohooo/jaxmark">JaxMark Editor</a></span>
<input type="file" id="opensel" />
<ul class="menu">
<li><span id="openbtn">Open</span></li>
<li><span id="savebtn">Save</span></li>
<li>
<span onclick="void(0)">▾Export</span>
<ul class="menu1">
<li><span id="export-wordpress">Html with WordPress LaTeX</span></li>
<li><span id="export-mathjax">Html with MathJax LaTeX</span></li>
<li><span id="export-markdown">Markdown with Escaped LaTeX</span></li>
</ul>
</li>
</ul>
</div>
<div id="main">
<div id="container"></div>
</div>
</div>
<div id="dialog">
<div id="dialog-head"><span id="dialog-title">Export File</span><span id="dialog-close">×</span></div>
<div id="dialog-body"><textarea id="dialog-text"></textarea></div>
</div>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
skipStartupTypeset: true,
showProcessingMessages: true,
tex2jax: {inlineMath: [['$','$']],
displayMath: [['$$','$$']],
processEnvironments: false},
'HTML-CSS': { imageFont: null }
});
</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-AMS_HTML"></script>
<script src="library/marked/marked.js"></script>
<script src="library/jaxmark/jaxmark.js"></script>
<script src="example/main.js"></script>
</body>
</html>