semantic linebreaks and add a link to the hooks' docs directory

Same as my previous PR, this time neatly separated into two commits. By the way, GitHub could use a slightly improved diff highlighter (with actual character ranges highlighted withing each changed line) ;)