Variable: org-html-text-markup-alist

org-html-text-markup-alist is a customizable variable defined in ox-html.el.gz.

Value

((bold . "<b>%s</b>")
 (code . "<code>%s</code>")
 (italic . "<i>%s</i>")
 (strike-through . "<del>%s</del>")
 (underline . "<span class=\"underline\">%s</span>")
 (verbatim . "<code>%s</code>"))

Documentation

Alist of HTML expressions to convert text markup.

The key must be a symbol among bold, code, italic, strike-through, underline and verbatim. The value is a formatting string to wrap fontified text with.

If no association can be found for a given markup, text will be returned as-is.

This variable was added, or its default value changed, in Org version
8.0.

Source Code

;; Defined in /usr/src/emacs/lisp/org/ox-html.el.gz
;;;; Bold, etc.

(defcustom org-html-text-markup-alist
  '((bold . "<b>%s</b>")
    (code . "<code>%s</code>")
    (italic . "<i>%s</i>")
    (strike-through . "<del>%s</del>")
    (underline . "<span class=\"underline\">%s</span>")
    (verbatim . "<code>%s</code>"))
  "Alist of HTML expressions to convert text markup.

The key must be a symbol among `bold', `code', `italic',
`strike-through', `underline' and `verbatim'.  The value is
a formatting string to wrap fontified text with.

If no association can be found for a given markup, text will be
returned as-is."
  :group 'org-export-html
  :version "24.4"
  :package-version '(Org . "8.0")
  :type '(alist :key-type (symbol :tag "Markup type")
		:value-type (string :tag "Format string"))
  :options '(bold code italic strike-through underline verbatim))