Function: org-md-inner-template
org-md-inner-template is a byte-compiled function defined in
ox-md.el.gz.
Signature
(org-md-inner-template CONTENTS INFO)
Documentation
Return body of document after converting it to Markdown syntax.
CONTENTS is the transcoded contents string. INFO is a plist holding export options.
Source Code
;; Defined in /usr/src/emacs/lisp/org/ox-md.el.gz
;;;; Template
(defun org-md-inner-template (contents info)
"Return body of document after converting it to Markdown syntax.
CONTENTS is the transcoded contents string. INFO is a plist
holding export options."
;; Make sure CONTENTS is separated from table of contents and
;; footnotes with at least a blank line.
(concat
;; Table of contents.
(let ((depth (plist-get info :with-toc)))
(when depth
(concat (org-md--build-toc info (and (wholenump depth) depth)) "\n")))
;; Document contents.
contents
"\n"
;; Footnotes section.
(org-md--footnote-section info)))