Improve documentation formatting

Fixes #24.