Skip to content

shape: multiline/indented stringification option? #22

Description

@bpj

I'm probably extreme but I often want the stringification of my shapes to be multiline and indented when there are many items and/or nested shapes.
I realize that it is probably rather hard to make this automatic but what about an option level=<number> which causes each item in the stringification to be on its own line and indented level * 2 + 2 spaces and the closing brace to be on its own line indentedlevwl * 2 spaces?

I'll try to write a pull request if this seems like a good idea.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions