ox-md.el: Export footnotes section as Markdown
commitd4a073f5be948673044ce76a15f1d14c91f1700b
authorJake Romer <jkrmr@github.com>
Mon, 22 Aug 2016 08:48:57 +0000 (22 10:48 +0200)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Thu, 1 Sep 2016 16:41:52 +0000 (1 18:41 +0200)
tree69877590dd25e20df5085b2e236835541c408990
parentcd18ac22ffc8074f86a922a0087f9ed34a67dd8a
ox-md.el: Export footnotes section as Markdown

* lisp/ox-md.el (org-md--headline-title): New function.
(org-md-headline): Use `org-md-headline-title' to generate section
headers.
(org-md--footnote-formatted): New function.
(org-md--footnote-section): New function.
(org-md-inner-template): Update to use `org-md-footnote-section'.
(org-md-footnotes-section): New customizable variable.
(org-md-footnote-format): New customizable variable.

Update ox-md.el to export the Footnotes section as Markdown, using HTML
only where necessary - namely, in footnote and footnote reference links.
doc/org.texi
etc/ORG-NEWS
lisp/ox-md.el