Exporter: add highlight markdown style (#9976)

This commit is contained in:
Utsob Roy
2023-01-23 19:49:11 +06:00
committed by GitHub
parent 34f92bc196
commit 64fefc7a22
2 changed files with 5 additions and 0 deletions

View File

@@ -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" },

View File

@@ -9,6 +9,10 @@ local formatters = {
formatter = "**%s**",
label = _("Bold")
},
highlight = {
formatter = "==%s==",
label = _("Highlight")
},
italic = {
formatter = "*%s*",
label = _("Italic")