mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Exporter: add highlight markdown style (#9976)
This commit is contained in:
@@ -29,6 +29,7 @@ local formatter_buttons = {
|
||||
{ _("None"), "none" },
|
||||
{ _("Bold"), "bold" },
|
||||
{ _("Bold italic"), "bold_italic" },
|
||||
{ _("Highlight"), "highlight"},
|
||||
{ _("Italic"), "italic" },
|
||||
{ _("Strikethrough"), "strikethrough" },
|
||||
{ _("Underline (Markdownit style, with ++)"), "underline_markdownit" },
|
||||
|
||||
@@ -9,6 +9,10 @@ local formatters = {
|
||||
formatter = "**%s**",
|
||||
label = _("Bold")
|
||||
},
|
||||
highlight = {
|
||||
formatter = "==%s==",
|
||||
label = _("Highlight")
|
||||
},
|
||||
italic = {
|
||||
formatter = "*%s*",
|
||||
label = _("Italic")
|
||||
|
||||
Reference in New Issue
Block a user