Function: org-odt-code
org-odt-code is a byte-compiled function defined in ox-odt.el.gz.
Signature
(org-odt-code CODE CONTENTS INFO)
Documentation
Transcode a CODE object from Org to ODT.
CONTENTS is nil. INFO is a plist used as a communication channel.
Source Code
;; Defined in /usr/src/emacs/lisp/org/ox-odt.el.gz
;;;; Code
(defun org-odt-code (code _contents _info)
"Transcode a CODE object from Org to ODT.
CONTENTS is nil. INFO is a plist used as a communication
channel."
(format "<text:span text:style-name=\"%s\">%s</text:span>"
"OrgCode" (org-odt--encode-plain-text
(org-element-property :value code))))