Make reference section linkable (see #97)

* Add named link targets for functions
* Convert reference list from block text to a list with links