-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
36 lines (32 loc) · 1.28 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
<!doctype html>
<meta charset="utf-8">
<title>Notepad</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/highlightjs/[email protected]/build/styles/felipec.min.css">
<link rel="stylesheet" href="style.css">
<div id="input" class="editor language-mathjs" ondrop="dropHandler(event)"></div>
<div id="output" class="editor language-mathjs"></div>
<div id="help" style="display: none">
<h1 id="help_name"></h1>
<p id="help_description"></p>
<div id="help_syntax">
<h2>Syntax</h2>
<pre><code id="help_syntax_code" class="language-mathjs"></code></pre>
</div>
<div id="help_examples">
<h2>Examples</h2>
<pre><code id="help_examples_code" class="language-mathjs"></code></pre>
</div>
<div id="help_seealso">
<h2>See also</h2>
<p id="help_seealso_text"></p>
</div>
</div>
<script src="https://cdn.jsdelivr.net/gh/highlightjs/[email protected]/build/highlight.min.js"></script>
<script type="module">
import { CodeJar } from 'https://medv.io/codejar/codejar.js';
window.editor = CodeJar(input, hljs.highlightElement);
window.results = CodeJar(output, hljs.highlightElement);
</script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/lib/browser/math.min.js"></script>
<script src="hljs/mathjs.js"></script>
<script src="script.js" defer></script>