diff --git a/README.md b/README.md index e2187f2..a6b8132 100644 --- a/README.md +++ b/README.md @@ -252,6 +252,15 @@ anArray = [ 2, 3 ] */ ``` +You can exert some control over formatting. For example, you can change the default indentation, white space, and time zone: + + ```java +new TomlWriter(). + wantTerseArrays(true). + setIndentationPolicy(new WriterIndentationPolicy().setTableIndent(2)). + setTimeZone(TimeZone.getTimeZone("UTC")); +``` + See the `TomlWriter` class for more details. ### Limitations