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

Add ability to use compact version of sequence of mappings #32

Open
rypervenche opened this issue Jul 8, 2020 · 1 comment
Open

Add ability to use compact version of sequence of mappings #32

rypervenche opened this issue Jul 8, 2020 · 1 comment

Comments

@rypervenche
Copy link

Would it be possible to add an adverb or some way of getting the compact version of a sequence of mappings? I find that this formatting is much more common.

---
sequence:
-
  a: b
  c: d
---
# compact
sequence:
- a: b
  c: d

Thanks!

@Leont
Copy link
Owner

Leont commented Jul 9, 2020

I'm guessing you're talking about the YAML outputting code? Patches welcome?

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