Is it possible to have a footnote reference as part of the text of a link? e.g.:
https://site.example/["Link text here footnote:[with a footnote text here] with trailing text"]
which currently generates:
<p><a href="https://site.example/">"Link text here <sup class="footnote">[<a id="_footnoteref_1" class="footnote" href="#_footnotedef_1" title="View footnote.">1</a>]</sup></p>
</div>
<div id="footnotes">
<hr>
<div class="footnote" id="_footnotedef_1">
<a href="#_footnoteref_1">1</a>. with a footnote text here</a> with trailing text"
</div>
</div>
rather than what I hoped:
<div class="paragraph">
<p><a href="https://site.example/">"Link text here <sup class="footnote">[1]</sup> with trailing text</a></p>
</div>
<div id="footnotes">
<hr>
<div class="footnote" id="_footnotedef_1">
1. with a footnote text here
</div>
</div>
In short, I hoped to see:
- the trailing text to remain part of the link text, rather than the footnote text
- a link-less footnote reference to be created inside the link text (since anchors can't be nested)
- the footnote not to have a backreference link (since the footnote anchor wouldn't have been created)