-
-
Notifications
You must be signed in to change notification settings - Fork 407
/
index.html
134 lines (121 loc) · 3.25 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
<!DOCTYPE html>
<html>
<head>
<!-- MISC/META -->
<title>ZenPen ~ Minimal Distraction, Maximum Zen</title>
<meta charset="utf-8" />
<meta
name="description"
content="Zenpen - A minimal text editor, made to stay out of the way while you get the words down."
/>
<!-- CSS -->
<link
href="//fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic"
rel="stylesheet"
type="text/css"
/>
<link href="css/style.css" rel="stylesheet" />
<link href="css/fonts.css" rel="stylesheet" />
</head>
<body class="yin">
<div class="overlay">
<div class="wordcount modal">
<h1>Target Word Count</h1>
<div>
<input type="number" name="quantity" value="0" min="0" />
</div>
</div>
<div class="saveoverlay modal">
<h1>Select save format</h1>
<p class="saveselection">
<span data-format="markdown">Markdown</span>
<span data-format="html">HTML</span>
<span data-format="plain">Plain Text</span>
</p>
<button class="savebutton useicons"></button>
<div>
Or select format and press ctrl+c (cmd+c on mac) to copy the text.
</div>
<textarea class="hiddentextbox"></textarea>
</div>
</div>
<div class="text-options">
<div class="options">
<span class="no-overflow">
<span class="lengthen ui-inputs">
<button class="url useicons"></button>
<input
class="url-input"
type="text"
placeholder="Type or Paste URL here"
/>
<button class="bold">b</button>
<button class="italic">i</button>
<button class="quote">”</button>
</span>
</span>
</div>
</div>
<div class="ui">
<div class="wrapper">
<div class="top editing">
<button class="fullscreen useicons" title="Toggle fullscreen">

</button>
<button class="color-flip useicons" title="Invert colors">

</button>
<button class="target useicons" title="Set target word count">

</button>
<button class="save useicons" title="Save Text">

</button>
</div>
<div class="bottom">
<a
class="about"
href="https://www.buymeacoffee.com/tholman"
target="_blank"
>
☕
</a>
</div>
</div>
</div>
<div class="word-counter">
<span class="progress"></span>
</div>
<section>
<header contenteditable="true" class="header"></header>
<article contenteditable="true" class="content"></article>
</section>
<!-- LIBS -->
<script src="js/libs/FileSaver.min.js"></script>
<script src="js/libs/Blob.min.js"></script>
<script src="js/libs/screenfull.min.js"></script>
<!-- JS -->
<script src="js/default.js"></script>
<script src="js/utils.js"></script>
<script src="js/editor.js"></script>
<script src="js/ui.js"></script>
<script type="text/javascript">
// Initiate ZenPen
ZenPen.editor.init();
ZenPen.ui.init();
</script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script
async
src="https://www.googletagmanager.com/gtag/js?id=UA-38039699-1"
></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag("js", new Date());
gtag("config", "UA-38039699-1");
</script>
</body>
</html>