Function: org-element-table-interpreter
org-element-table-interpreter is a byte-compiled function defined in
org-element.el.gz.
Signature
(org-element-table-interpreter TABLE CONTENTS)
Documentation
Interpret TABLE element as Org syntax.
CONTENTS is a string, if table's type is org, or nil.
Source Code
;; Defined in /usr/src/emacs/lisp/org/org-element.el.gz
(defun org-element-table-interpreter (table contents)
"Interpret TABLE element as Org syntax.
CONTENTS is a string, if table's type is `org', or nil."
(if (eq (org-element-property :type table) 'table.el)
(org-remove-indentation (org-element-property :value table))
(concat (with-temp-buffer (insert contents)
(org-table-align)
(buffer-string))
(mapconcat (lambda (fm) (concat "#+TBLFM: " fm))
(reverse (org-element-property :tblfm table))
"\n"))))