From a3226de6275de95549aae4e1b555ac351e286361 Mon Sep 17 00:00:00 2001 From: Jake Romer Date: Thu, 4 Aug 2016 14:12:59 -0400 Subject: [PATCH] Render footnote section as HTML Appends a footnote section, transcoded to HTML, to the GFM output. Fixes #11 --- ox-gfm.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ox-gfm.el b/ox-gfm.el index db42b4e..28c41f1 100644 --- a/ox-gfm.el +++ b/ox-gfm.el @@ -254,7 +254,9 @@ holding export options." (headlines (and depth (org-export-collect-headlines info depth))) (toc-string (or (mapconcat 'org-gfm-format-toc headlines "\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)))) + +