mdsmith
Esc
    v0.52.0 GitHub
    MDS045 list ready

    MDS045: list-marker-style

    Unordered list items must use the configured bullet marker character.

    # Settings

    SettingTypeDefaultDescription
    stylestring"dash""dash" (-), "asterisk" (*), or "plus" (+)
    nestedlist(string)[]Per-depth style rotation; cycles by depth % len(nested)

    # Config

    Enable with dash style (the default when enabled):

    rules:
      list-marker-style:
        style: dash

    Disable (default):

    rules:
      list-marker-style: false

    Depth-based rotation (outer uses -, inner uses *):

    rules:
      list-marker-style:
        nested:
          - dash
          - asterisk

    # Examples

    # Good – dash style

    # Good dash marker
    
    This file uses dash markers consistently.
    
    - First item
    - Second item
    - Third item
    
    Nested list:
    
    - Outer item
      - Inner item
      - Another inner item
    - Another outer item

    # Good – nested rotation

    # Good nested with rotation
    
    Outer lists use dash, inner use asterisk.
    
    - Outer item
      * Inner item
      * Another inner item
    - Another outer item
      * More inner
        - Depth 2 cycles back to dash
          * Depth 3 cycles to asterisk

    # Bad – wrong marker

    # Bad asterisk with dash config
    
    This list uses asterisks but dash is configured.
    
    * First item
    * Second item
    * Third item

    # Bad – wrong nested marker

    # Bad nested with wrong inner marker
    
    Outer uses dash (correct), inner should use asterisk but uses dash.
    
    - Outer item
      - Inner item should be asterisk
      - Another inner item should be asterisk
    - Another outer item

    # Meta-Information