“InflationAdjuster”, 2019-03-27 (; backlinks; similar):
Experimental Pandoc module for implementing automatic inflation adjustment of nominal date-stamped dollar or Bitcoin amounts to provide real prices; Bitcoin’s exchange rate has moved by multiple orders of magnitude over its early years (rendering nominal amounts deeply unintuitive), and this is particularly critical in any economics or technology discussion where a nominal price from 1950 is 11× the 2019 real price!
Years/dates are specified in a variant of my interwiki link syntax; for example:
$50or[₿0.5](₿2017-01-01), giving link adjustments which compile to CSS-adjusted subscript+superscript.Dollar amounts use year, and Bitcoins use full dates, as the greater temporal resolution is necessary. Inflation rates/exchange rates are specified as constants and need to be manually updated every once in a while; if out of date, the last available rate is carried forward for future adjustments.
View Haskell: