Function: org-texinfo-example-block

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

Signature

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

Documentation

Transcode an EXAMPLE-BLOCK element from Org to Texinfo.

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

Source Code

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

(defun org-texinfo-example-block (example-block _contents info)
  "Transcode an EXAMPLE-BLOCK element from Org to Texinfo.
CONTENTS is nil.  INFO is a plist holding contextual
information."
  (format "@example\n%s@end example"
	  (org-texinfo--sanitize-content
	   (org-export-format-code-default example-block info))))