add formatter option to config [#6]

I'm not sure if this is exactly what you want, but this could be good starting point.