Plain text formatter

Fixes #12.