Variable: org-ascii-format-drawer-function

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

Value

#[771 "\207" [] 4
      ("/nix/store/yvwy8dm26cpa1j12ixgs1dyiaw2abdk9-emacs-snapshot/share/emacs/31.0.50/lisp/org/ox-ascii.elc"
       . 11305)]

Documentation

Function called to format a drawer in ASCII.

The function must accept three parameters:
  NAME the drawer name, like "LOGBOOK"
  CONTENTS the contents of the drawer.
  WIDTH the text width within the drawer.

The function should return either the string to be exported or nil to ignore the drawer.

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-ascii.el.gz
(defcustom org-ascii-format-drawer-function
  (lambda (_name contents _width) contents)
  "Function called to format a drawer in ASCII.

The function must accept three parameters:
  NAME      the drawer name, like \"LOGBOOK\"
  CONTENTS  the contents of the drawer.
  WIDTH     the text width within the drawer.

The function should return either the string to be exported or
nil to ignore the drawer.

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