Function: org-element-special-block-interpreter

org-element-special-block-interpreter is a byte-compiled function defined in org-element.el.gz.

Signature

(org-element-special-block-interpreter SPECIAL-BLOCK CONTENTS)

Documentation

Interpret SPECIAL-BLOCK element as Org syntax.

CONTENTS is the contents of the element.

Source Code

;; Defined in /usr/src/emacs/lisp/org/org-element.el.gz
(defun org-element-special-block-interpreter (special-block contents)
  "Interpret SPECIAL-BLOCK element as Org syntax.
CONTENTS is the contents of the element."
  (let ((block-type (org-element-property :type special-block))
        (parameters (org-element-property :parameters special-block)))
    (format "#+begin_%s%s\n%s#+end_%s" block-type
            (if parameters (concat " " parameters) "")
            (or contents "") block-type)))