Closed jmromer closed 8 years ago
How hard would it be to render the footnotes as markdown instead of html I wonder?
Good point! I added a naive implementation in a46628a.
- [Heading](#orgheadline1)
# Heading<a id="orgheadline1"></a>
test `one` two this<sup><a id="fnr.1" class="footref" href="#fn.1">1</a></sup> is some text. More text have another footnote<sup><a id="fnr.2" class="footref" href="#fn.2">2</a></sup>.
## Footnotes
<sup><a id="fn.1" class="footnum" href="#fnr.1">1</a></sup> This is a footnote.
<sup><a id="fn.2" class="footnum" href="#fnr.2">2</a></sup> This is another footnote.
Nice work @jkrmr!
You might want to consider contributing your org-gfm-footnote-section
function to ox-md.el
:)
@larstvei Good idea, thanks! I have a version in a local fork that correctly switches between atx and setext header styles. Contributing to Org turns out to be a little more involved than I expected (FSF release and all that), so I'll keep you posted.
Appends a footnote section, transcoded to HTML, to the GFM output. Fixes #11
/cc @jonmagic
Org source
Output before
Output after