1
0
Fork 0
mirror of https://github.com/Yetangitu/owncloud-apps.git synced 2025-10-02 14:49:17 +02:00

reader: files_reader evolved with multiple format support (epub and cbr/cbz for now), session (position and preferences) store/restore and more

This commit is contained in:
frankdelange 2017-02-13 00:15:26 +01:00
parent 6e1bd38409
commit 57a76be890
81 changed files with 22806 additions and 0 deletions

View file

@ -0,0 +1,14 @@
EPUBJS.Hooks.register("beforeChapterDisplay").highlight = function(callback, renderer){
// EPUBJS.core.addScript("js/libs/jquery.highlight.js", null, renderer.doc.head);
var s = document.createElement("style");
s.innerHTML =".highlight { background: yellow; font-weight: normal; }";
renderer.render.document.head.appendChild(s);
if(callback) callback();
}