-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
51 lines (51 loc) · 1.92 KB
/
index.html
File metadata and controls
51 lines (51 loc) · 1.92 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>CSText</title>
<link rel="icon" type="image/x-icon" href="icon.png">
<link href="quill/quill.snow.css" rel="stylesheet">
<link id="theme" href="css/default.css" rel="stylesheet">
<link rel="stylesheet" href="katex/katex.min.css">
<body>
<div id="notSettings">
<div id="toolbar">
</div>
<div id="dropdown-content">
<button class="normalbutton" onclick="dlSave()">Download</button>
<button class="normalbutton" onclick="upSave()">Open</button>
<button class="normalbutton" onclick="quilltoHTML()">Convert to HTML</button>
<button class="normalbutton" onclick="showSettings()">Settings</button>
</div>
<button class="normalbutton" onclick="dropdown()">File</button>
<button class="normalbutton" onclick="saveLocal()">Save Project</button>
<button class="normalbutton" onclick="loadLocal()">Load Project</button>
<div id="editor">
</div>
<br><br><br>
<div id="htmlout">
<h1>HTML converted text</h1>
<code id="convertedhtml"></code>
<div id="host"></div>
</div>
</div>
<div id="settings" style="display:none">
<select onchange="changeTheme(this.value)">
<option value="default">Catppuccin Mocha</option>
<option value="dark">Material dark</option>
<option value="light">Material light</option>
</select>
<br>
<br>
<button class="normalbutton" style="float:left !important" onclick="hideSettings()">Close settings</button>
<br>
<br>
<p>CSText v0.3.0, powered by wTextitor v0.2.1c from <a href="https://wilbur.is-a.dev">Wilbur Williams</a></p>
<p>Uses KaTeX and Quill JS</p>
</div>
<script src="katex/katex.min.js"></script>
<script src="quill/quill.js"></script>
<script src="script.js"></script>
</body>
</html>