Skip to content

FR: tab rule for lists #1410

@Friedolito

Description

@Friedolito

Sometimes pasted text as list that use 2 spaces for indentation.
I set my rule in the editor to 4 spaces, what I find better to read and work with.
Manually adding spaces to a long list is cumbersome and would be a great usecase for a linter

Describe the Solution You'd Like

Add an option to set a rule for indentation with in lists. ( one indentation = 4 spaces)

If a list with different indentation is detected, change to the rule.

current 
- item
  - item
  - item
    - item 
expected outcome
- item
    - item
    - item
        - item

Could be achieved using a linter in vs code but would be great to have it in obsmd, especially because linter is already in my workflow

Thank you for considering and creating linter.

Metadata

Metadata

Assignees

No one assigned

    Labels

    rule suggestionSuggestion to add or edit a rule

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions