writemonkey / wm3

165 stars 5 forks source link

Footnotes are rendered as endnotes #382

Open mikoi17 opened 3 years ago

mikoi17 commented 3 years ago

Hi! I have noticed that when I insert footnotes (using the syntax ^[this is a footnote], as others do not work) I have them printed in .doc documents as endnotes. The cause maybe in this, from Extra MarkDown:

<p>That's some text with a footnote.
   <sup id="fnref:1"><a href="#fn:1" class="footnote-ref" role="doc-noteref">1</a></sup></p>

<div class="footnotes" role="doc-endnotes">
<hr />
<ol>

<li id="fn:1" role="doc-endnote">
<p>And that's the footnote.
   <a href="#fnref:1" class="footnote-backref" role="doc-backlink">&#8617;</a></p>
</li>

</ol>
</div>

Do you think is is possible to do anything and modify the "role=doc-endnotes" in "role=doc-footnotes"?

Thank you!