pandoc-sidenote (hackage): This is a simple Pandoc filter to convert footnotes into a format that can be consumed by Tufte CSS. On the whole, this project weighs in at well under 100 lines of code. Check out SideNote.hs if you're curious how it works.
Keywords: commandline|library|mit|program|markdown|pandoc|writing