We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Converting
# Title^[Footnote]
to HTML (using --toc) produces the following :
--toc
Footnote↩
The footnote is referenced both in the table of content and in the title, and therefore appears twice at the end of the document.
In my opinion, footnote in titles should simply be discarded in table of content.
The text was updated successfully, but these errors were encountered:
What version of pandoc are you using? I get (with current pandoc):
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Style-Type" content="text/css" /> <meta name="generator" content="pandoc" /> <title></title> <style type="text/css">code{white-space: pre;}</style> </head> <body> <div id="TOC"> <ul> <li><a href="#title">Title</a></li> </ul> </div> <h1 id="title">Title<a href="#fn1" class="footnoteRef" id="fnref1"><sup>1</sup></a></h1> <div class="footnotes"> <hr /> <ol> <li id="fn1"><p>Footnote<a href="#fnref1">↩</a></p></li> </ol> </div> </body> </html>
As you can see there's only one note here.
Sorry, something went wrong.
I was using pandoc 1.12.2.1, so yeah... sorry. :)
No branches or pull requests
Converting
to HTML (using
--toc
) produces the following :Title2
Footnote↩
Footnote↩
The footnote is referenced both in the table of content and in the title, and therefore appears twice at the end of the document.
In my opinion, footnote in titles should simply be discarded in table of content.
The text was updated successfully, but these errors were encountered: