multiple extensions and coffee.md

* reimplements #857 (reverted during the linker rewrite)
* support `coffee.md` handler (with tests)