Open xNinjaKittyx opened 6 years ago
Huh, I could have sworn that I'd already seen this as a feature request and/or wrote a decoder for that. But apparently not. Thanks for the suggestion!
Hi, I was just interested if the feature of having indentation when using toml.dumps()
or toml.dump()
has been implemented since. Would greatly appreciate the help!
I'm just now learning virtually every toml package with dump capabilities lacks common json/yaml/etc styling kwargs like indent, allow_unicode/ensure_ascii, even sort_keys is missing among some. I find this very bizarre, has this request been revisited at any point?
Is there any intention to get indentation support for the dumps?
Taking examples from the TOML-lang GitHub Readme
or
Edit: I actually don't like how the variables inside the tables are indented. Even something like this:
is good enough for me.