Function: org-html-code
org-html-code is a byte-compiled function defined in ox-html.el.gz.
Signature
(org-html-code CODE CONTENTS INFO)
Documentation
Transcode CODE from Org to HTML.
CONTENTS is nil. INFO is a plist holding contextual information.
Source Code
;; Defined in /usr/src/emacs/lisp/org/ox-html.el.gz
;;;; Code
(defun org-html-code (code _contents info)
"Transcode CODE from Org to HTML.
CONTENTS is nil. INFO is a plist holding contextual
information."
(format (or (cdr (assq 'code (plist-get info :html-text-markup-alist))) "%s")
(org-html-encode-plain-text (org-element-property :value code))))