Exporter: add highlight markdown style (#9976)
This commit is contained in:
1 parent
34f92bc196
commit
64fefc7a22
2 files changed
+5
No files matched your search
@@ -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