refactoring of PlainTextFormat.create()