Exporter: choose highlight styles to be exported (#12431)

This commit is contained in:
hius07
2024-08-31 19:28:48 +03:00
committed by GitHub
parent 38c8d66b5b
commit 49e885321a
3 changed files with 96 additions and 61 deletions

View File

@@ -1866,6 +1866,10 @@ function ReaderHighlight:onCycleHighlightAction()
return true
end
function ReaderHighlight.getHighlightStyles()
return highlight_style
end
function ReaderHighlight:getHighlightStyleString(style) -- for bookmark list
for _, v in ipairs(highlight_style) do
if v[2] == style then