Render footnote section as HTML

Appends a footnote section, transcoded to HTML, to the GFM output. 
Fixes #11
This commit is contained in:
Jake Romer 2016-08-04 14:12:59 -04:00 committed by GitHub
parent 32dd3626b6
commit a3226de627

View File

@ -254,7 +254,9 @@ holding export options."
(headlines (and depth (org-export-collect-headlines info depth))) (headlines (and depth (org-export-collect-headlines info depth)))
(toc-string (or (mapconcat 'org-gfm-format-toc headlines "\n") "")) (toc-string (or (mapconcat 'org-gfm-format-toc headlines "\n") ""))
(toc-tail (if headlines "\n\n" ""))) (toc-tail (if headlines "\n\n" "")))
(concat toc-string toc-tail contents))) (concat toc-string toc-tail contents "\n" (org-html-footnote-section info))))