Adds a formatter for the lines format