Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

With an empty footnote backlink, superscript numerals nonetheless appear in reference list #270

kylebarbour opened this issue Jul 30, 2015 · 3 comments


Copy link

It is possible to suppress footnote backlinks by using:

{::options footnote_backlink="" /}

However, when there are multiple references to a footnote, those superscripts still appear. For example, consider the following test case:

{::options footnote_backlink="" /}
Test sentence 1. [^ref] Test sentence 2. [^ref]


This produces the following HTML output:

<p>Test sentence 1. <sup id="fnref:ref"><a href="#fn:ref" class="footnote">1</a></sup> Test sentence 2. <sup id="fnref:ref:1"><a href="#fn:ref" class="footnote">1</a></sup></p>

<div class="footnotes">
    <li id="fn:ref">

      <p>Reference. <a href="#fnref:ref" class="reversefootnote"></a> <a href="#fnref:ref:1" class="reversefootnote"><sup>2</sup></a></p>

which causes the footnote to have an undesired superscript 2 as well as additional undisplayed HTML. It would be nice to have the footnote backlink fully suppressible so that these don't need to be edited out in sed.

@gettalong gettalong self-assigned this Jul 31, 2015
Copy link

Thanks, I will have a look at this and then decide.

Copy link

I have changed the implementation so that an empty footnote_backlink option will suppress the output of all backlinks.

Copy link

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

No branches or pull requests

2 participants