Function: org-man-example-block

org-man-example-block is a byte-compiled function defined in ox-man.el.gz.

Signature

(org-man-example-block EXAMPLE-BLOCK CONTENTS INFO)

Documentation

Transcode an EXAMPLE-BLOCK element from Org to Man.

CONTENTS is nil. INFO is a plist holding contextual information.

Source Code

;; Defined in /usr/src/emacs/lisp/org/ox-man.el.gz
;;; Example Block

(defun org-man-example-block (example-block _contents info)
  "Transcode an EXAMPLE-BLOCK element from Org to Man.
CONTENTS is nil.  INFO is a plist holding contextual
information."
  (org-man--wrap-label
   example-block
   (format ".RS\n.nf\n%s\n.fi\n.RE"
           (org-man--protect-example (org-export-format-code-default example-block info)))))