hist help formatting

* add link anchors
* fix code formatting
* add csv example snippet
* closes #474