doc: make transaction hook's style as same with global

This closes #78