template: use markdown reference linkage

Closes #16