Skip to content

Naming Indentations of List Item #5

@namse

Description

@namse
  1. Opening Indentation

    A indentation which is in front of line, before list marker.

    - a      // OI = 0
      - a   // OI = 2
        -  a  // OI = 4
    
  2. Content Indentation

    A Indentation from start of line to first non-whitespace character after list marker.

    - a      // CI = 2
      - a   // CI = 4
        -  a  // CI = 6
    

    CI = OI + (length of list marker) + (length of following whitespaces >= 4 ? 0 : value)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions