Skip to content

Feature request: Continuous indentation #203

@Fonzie-byte

Description

@Fonzie-byte

Would it be possible to add a Slim rule to set that certain lines under another line have additional indent, for example that properties belonging to an element are indented additionally?

Example:

= form_with_model user do |f|
  / Indented "1 amount", in this case 2 spaces
  = f.text_field :first_name,
      / Indented "2 amounts", in this case 4 spaces
      placeholder: "Name"

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