added macros basically in order to add a reading time to the page. might use it for other stuff later, but that's what i want it for now. according to https://thereadtime.com/ the words-per-minute reading rate for reading out loud is 183. And the average speed for reading silently is 234 wpm. which is what we use here. if you ever want to adjust this rate, edit zxWPM in macros
6 lines
252 B
Plaintext
6 lines
252 B
Plaintext
changequote(`<!', `!>')dnl
|
|
define(<!zxWPM!>, 234)dnl
|
|
define(<!zxWORDS!>, <!esyscmd(pandoc -t plain www/index.html | wc -w | sed -e 's/ //g' | tr '\n' ' ')!>)dnl
|
|
define(<!zxMINUTES!>, <!esyscmd(expr zxWORDS / zxWPM | tr '\n' ' ')!>)dnl
|
|
changequote()dnl
|