larstvei / ox-gfm

Github Flavored Markdown Back-End for Org Export Engine
230 stars 44 forks source link

Footnotes are not exported #11

Closed jmromer closed 8 years ago

jmromer commented 8 years ago

For this snippet taken from an org file:

* Footnotes

[fn:1] this is a footnote

(org-md-export-as-markdown) produces the following (formatting added):

<div id="footnotes">
  <h2 class="footnotes">
    Footnotes:
  </h2>

  <div id="text-footnotes">
    <div class="footdef">
      <sup>
        <a id="fn.1" class="footnum" href="#fnr.1">
          1
        </a>
      </sup>

      <div class="footpara">
        this is a footnote.
      </div>
    </div>
  </div>
</div>

(org-gfm-export-as-markdown) does not produce this section at all. I'll take a stab at adding it if that's cool with you.

larstvei commented 8 years ago

Thanks, that would be great!