I hereby claim:
- I am garrying on github.
- I am garryi (https://keybase.io/garryi) on keybase.
- I have a public key whose fingerprint is 3BB1 26D3 33B6 383F 1B04 E68A FF88 CBA1 B7CF 0EF0
To claim this, I am signing this object:
/* sidenotes.js: standalone JS library for parsing HTML documents with Pandoc-style footnotes and dynamically repositioning them into the left/right margins, when browser windows are wide enough. | |
Sidenotes are superior to footnotes where possible because they enable the reader to immediately look at them without requiring user action to 'go to' or 'pop up' the footnotes; even floating footnotes require effort by the reader. | |
sidenotes.js is inspired by the Tufte-CSS sidenotes (https://edwardtufte.github.io/tufte-css/#sidenotes), but where Tufte-CSS uses static footnotes inlined into the body of the page (requiring modifications to Pandoc's compilation), which doesn't always work well for particularly long or frequent sidenotes, sidenotes.js will rearrange sidenotes to fit as best as possible, and will respond to window changes. | |
Particularly long sidenotes are also partially 'collapsed'. | |
Author: Said Achmiz | |
2019-03-11 | |
license: MIT (derivative of footnotes.js, which is PD) | |
*/ |
docReady( function() { | |
var app = { | |
init: function () { | |
this._menuInit(); | |
this._resizeEventListener(); | |
}, | |
_menuInit: function () { | |
var firstEle = []; |
I hereby claim:
To claim this, I am signing this object: