Variable: org-html-format-drawer-function

org-html-format-drawer-function is a customizable variable defined in ox-html.el.gz.

Value

#[514 "\207"
      []
      3 "\n\n(fn NAME CONTENTS)"]

Documentation

Function called to format a drawer in HTML code.

The function must accept two parameters:
  NAME the drawer name, like "LOGBOOK"
  CONTENTS the contents of the drawer.

The function should return the string to be exported.

The default value simply returns the value of CONTENTS.

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
;;;; Drawers

(defcustom org-html-format-drawer-function (lambda (_name contents) contents)
  "Function called to format a drawer in HTML code.

The function must accept two parameters:
  NAME      the drawer name, like \"LOGBOOK\"
  CONTENTS  the contents of the drawer.

The function should return the string to be exported.

The default value simply returns the value of CONTENTS."
  :group 'org-export-html
  :version "24.4"
  :package-version '(Org . "8.0")
  :type 'function)