News for hackers. Stuff that matters.
Re:A (terrible?) way to do footnotes in HTML by AndrewStephens on Thursday December 10, 2020 @10:05AM (#25374386)
I love using footnotes and sidetone in my writing and I have had this frustration myself.

Part of the problem with footnotes is that they must be rendered in completely different ways depending on the device. It is annoying that there really isn't a good way of expressing that something should be a footnote attached to a particular piece of text in HTML. Depending on the stylesheet, this should be rendered as an expandable in-line span, a floating block off to the side, or a footnote at the bottom of the document or printed page (for printouts or PDFs).

My website uses a modified version of the tafte.css project, which meets _some_ of requirements in a sort-of hacky way.

Re:A (terrible?) way to do footnotes in HTML by john-doe on Thursday December 10, 2020 @02:21PM (#25377361)
I was toying with the Tufte ones too recently: https://codepen.io/daars/pen/dyXaGdy
Re:A (terrible?) way to do footnotes in HTML by AndrewStephens on Wednesday December 16, 2020 @11:18AM (#25444347)
This looks way better than my implementation. I may steal it.