Function: org-ascii-subscript

org-ascii-subscript is a byte-compiled function defined in ox-ascii.el.gz.

Signature

(org-ascii-subscript SUBSCRIPT CONTENTS INFO)

Documentation

Transcode a SUBSCRIPT object from Org to ASCII.

CONTENTS is the contents of the object. INFO is a plist holding contextual information.

Source Code

;; Defined in /usr/src/emacs/lisp/org/ox-ascii.el.gz
;;;; Subscript

(defun org-ascii-subscript (subscript contents _info)
  "Transcode a SUBSCRIPT object from Org to ASCII.
CONTENTS is the contents of the object.  INFO is a plist holding
contextual information."
  (if (org-element-property :use-brackets-p subscript)
      (format "_{%s}" contents)
    (format "_%s" contents)))