strings with explicit \n
characters in TomlTable should convert to multi-line TOML Strings
#78
Labels
\n
characters in TomlTable should convert to multi-line TOML Strings
#78
Currently, if we take this example:
This fails - we would expect nicely triple-quoted strings to be present here - as that's one of the major features of TOML over JSON!
I looked through the options and could not find a way to do this.
As a suggestion, I would suggest detecting if the string is actually multi-line (i.e. contains at least one
\n
- if it is, render with triple-quoted strings when we output it.Thanks for creating this very useful Library.
The text was updated successfully, but these errors were encountered: