Set "this" in formatters

Also adds documentation of the `this` value in the options reference.

Fixes #519