Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Add pretty print/indented output #45

Open
druchoo opened this issue Aug 4, 2018 · 1 comment
Open

[Feature Request] Add pretty print/indented output #45

druchoo opened this issue Aug 4, 2018 · 1 comment

Comments

@druchoo
Copy link

druchoo commented Aug 4, 2018

Hello, would it be possible to add an option for pretty printed/indented output?

So we can have:

[[fruit]]
  name = "apple"

  [fruit.physical]
    color = "red"
    shape = "round"

  [[fruit.variety]]
    name = "red delicious"

  [[fruit.variety]]
    name = "granny smith"

[[fruit]]
  name = "banana"

  [[fruit.variety]]
    name = "plantain"

instead of:

[[fruit]]
name = "apple"

[fruit.physical]
color = "red"
shape = "round"

[[fruit.variety]]
name = "red delicious"

[[fruit.variety]]
name = "granny smith"

[[fruit]]
name = "banana"

[[fruit.variety]]
name = "plantain"
@mischkl
Copy link

mischkl commented Apr 25, 2019

This would be great. I am currently using the remarshal script to convert to TOML and the indentation is the only thing missing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants