Style tweaks: remove "Toggle alternative EPUB content"

With MathML support, this is no longer all or nothing.
As it's quite rare and technical, let this be handled
via user style tweaks.
reviewable/pr7492/r1
poire-z 3 years ago
parent bc5881668e
commit 25aabd69d9

@ -823,20 +823,6 @@ This tweak can be duplicated as a user style tweak when books contain footnotes
]],
},
},
{
id = "epub_switch_show_case";
title = _("Toggle alternative EPUB content"),
description = _([[
The EPUB3 format allows a
<epub:switch> <epub:case> <epub:default>
construct to provide alternative content to engines that support optional features.
KOReader currently falls back to hiding all <epub:case> content and shows the <epub:default> content (usually an image).
This tweak toggles this behavior, and may show the <epub:case> content as plain text.]]),
css = [[
switch > case { display: inline; }
switch > default { display: none; }
]],
},
{
id = "no_pseudo_element_before_after";
title = _("Disable before/after pseudo elements"),

Loading…
Cancel
Save