Wikipedia: save full page as epub (html, with optional images)
Also for the current text-only wikipedia full page: replace the ==s in section titles with some unicode symbols for a better visual feeling of hierarchy. These same symbols are also used in the .epub. Both can be disabled by adding ["wikipedia_prettify"] = false to settings.reader.lua readerhighlight: close ButtonTable (like other buttons do) when looking up wikipedia, otherwise if we save as epub, and swtich to new document, this ButtonTable will never be closed and stays in UI.
This commit is contained in:
1 parent
81bc115cee
commit
2ded2bce5e
5 files changed
+821
-15
No files matched your search
@@ -357,6 +357,7 @@ function ReaderHighlight:onHoldRelease()
|
||||
callback = function()
|
||||
UIManager:scheduleIn(0.1, function()
|
||||
self:lookupWikipedia()
|
||||
self:onClose()
|
||||
end)
|
||||
end,
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user