mirror of
https://github.com/welpo/tabi.git
synced 2025-11-05 18:40:24 +01:00
Deploy welpo/tabi to welpo/tabi:gh-pages
This commit is contained in:
commit
9c032744d3
971 changed files with 22238 additions and 0 deletions
1
js/footnoteBacklinks.min.js
vendored
Normal file
1
js/footnoteBacklinks.min.js
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
function assignReferenceIds(){for(const e of document.querySelectorAll(".footnote-reference"))e.id="ref:"+e.children[0].hash.substring(1)}function createFootnoteBacklinks(){for(const n of document.querySelectorAll(".footnote-definition")){var e,t="ref:"+n.id;document.getElementById(t)&&((e=document.createElement("a")).href="#"+t,e.className="footnote-backlink",e.textContent="↩",n.lastElementChild.appendChild(e))}}function initFootnotes(){assignReferenceIds(),createFootnoteBacklinks()}window.addEventListener("load",initFootnotes);
|
||||
Loading…
Add table
Add a link
Reference in a new issue