Exporter: add highlight markdown style (#9976)

reviewable/pr10044/r1
Utsob Roy 1 year ago committed by GitHub
parent 34f92bc196
commit 64fefc7a22
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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")

Loading…
Cancel
Save