summaryrefslogtreecommitdiff
path: root/read.html
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2020-09-14 14:08:20 +0300
committerAndrew Dolgov <[email protected]>2020-09-14 14:08:20 +0300
commit40d215d8bf746a02977ebbc4138138e2e1800ea9 (patch)
treec2230d941dfa8d133780d9a8ed66e38b60eeee13 /read.html
parent3dd691939c9c8755b47a4761ec36660b7ec2c140 (diff)
experimental: add optional soft hyphenation
Diffstat (limited to 'read.html')
-rw-r--r--read.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/read.html b/read.html
index 3018132..78c628d 100644
--- a/read.html
+++ b/read.html
@@ -15,6 +15,10 @@
<script src="lib/localforage.min.js"></script>
<script src="lib/epub.js"></script>
+ <script src="lib/hyphen/hyphen.js"></script>
+ <script src="lib/hyphen/en-us.js"></script>
+ <script src="lib/hyphen/ru.js"></script>
+
<script src="js/app.js"></script>
<script src="js/reader.js"></script>
@@ -106,6 +110,13 @@
type="checkbox"> Keep UI when turning pages
</label>
</div>
+
+ <div class="checkbox">
+ <label>
+ <input class="enable_hyphens_checkbox"
+ type="checkbox"> Enable hyphenation
+ </label>
+ </div>
</div>
</div>