Function: org-md--footnote-formatted
org-md--footnote-formatted is a byte-compiled function defined in
ox-md.el.gz.
Signature
(org-md--footnote-formatted FOOTNOTE INFO)
Documentation
Formats a single footnote entry FOOTNOTE.
FOOTNOTE is a cons cell of the form (number . definition). INFO is a plist with contextual information.
Source Code
;; Defined in /usr/src/emacs/lisp/org/ox-md.el.gz
(defun org-md--footnote-formatted (footnote info)
"Formats a single footnote entry FOOTNOTE.
FOOTNOTE is a cons cell of the form (number . definition).
INFO is a plist with contextual information."
(let* ((fn-num (car footnote))
(fn-text (cdr footnote))
(fn-format (plist-get info :md-footnote-format))
(fn-anchor (format "fn.%d" fn-num))
(fn-href (format " href=\"#fnr.%d\"" fn-num))
(fn-link-to-ref (org-html--anchor fn-anchor fn-num fn-href info)))
(concat (format fn-format fn-link-to-ref) " " fn-text "\n")))