numist / numi.st

My public memory bank.
https://numi.st/
Other
1 stars 2 forks source link

Support for nested footnotes? #74

Open numist opened 10 months ago

numist commented 10 months ago

The following diff causes a couple different problems that prevent it from being shipped:

  1. On large size, the [^obv] footnote is assigned "6." and drawn at the bottom of the page instead of the nearest available space to its reference.
  2. On small size, clicking through to the nested footnote causes an infinite loop in the JavaScript somewhere.

This footnote is a joke that is probably best left on the cutting room floor anyway, but I did have a couple nested footnotes on my old site (likely evidence of poor writing themselves?)

diff --git a/post/2023/non-linear-time.md b/post/2023/non-linear-time.md
index 049f331..0a9cd56 100644
--- a/post/2023/non-linear-time.md
+++ b/post/2023/non-linear-time.md
@@ -44,6 +44,7 @@ Since the human experience of time mixes so many bases, the increments used by d

 [^oven]: Also: less prone to errors! Our oven's timers will clock out an hour when set to 1:00, but if you punch in 60? After an hour it starts over and counts down _a second hour_. It will also accept 3:75 (I was trying to set the temperature)—what duration _that_ represents is anyone's guess.
 [^watch-defaults]: [Citation](https://discussions.apple.com/thread/7665078). My watch is littered with custom intervals, but they _also_ follow this distribution.
-[^dates]: Before someone links me to [Falsehoods programmers believe about time](https://infiniteundo.com/post/25326999628/falsehoods-programmers-believe-about-time), these are time intervals that compromise precision for ergonomics! _Of course_ years aren't 31,536,000 seconds long, but if you're setting a timer for "a year" it's _close enough_. Days aren't 86,400 seconds long either, but good luck convincing your kids, pets, or plants otherwise!
+[^dates]: Before someone links me to [Falsehoods programmers believe about time](https://infiniteundo.com/post/25326999628/falsehoods-programmers-believe-about-time), these are time intervals that compromise precision for ergonomics! _Of course_ years aren't 31,536,000 seconds long[^obv], but if you're setting a timer for "a year" it's _close enough_. Days aren't 86,400 seconds long either, but good luck convincing your kids, pets, or plants otherwise!
+[^obv]: _Obviously_, they're 31,556,908.8 seconds.
 [^ish]: _ish_. See previous footnote.
 [^year]: Which is a year. See previous footnote.