markdownlint/test/lists-with-nesting.md

1 KiB

Lists with Nesting

Excessive nesting

  • one
    1. two
    2. three
  • four
  1. one
    • two
    • three
  2. four

Insufficient nesting

  • one {MD032}
  1. two {MD032}
  • three {MD032}
  1. one {MD032}
  • two {MD007} {MD032}
  1. three {MD032}

Correct nesting, same type

  • one
    • two
    • three
  • four
    • five
      • six
        • seven
  1. one
    1. two
    2. three
  2. four
    1. five
      1. six
        1. seven

Correct nesting, different types

  • one
    1. two
    2. three
  • four
  1. one

    • two
    • three
  2. four

  3. one

    • two
      • three
  • one

    1. two
      • three
  • one

    • two
      1. three
  1. one

    1. two
      • three
  2. one

    • two
      1. three
  • one

    1. two
      1. three
  • one

    1. two
      • three
        1. four
          • five
            1. six
              • seven
                1. eight
  1. one
    • two
      1. three
        • four
          1. five
            • six
              1. seven
                • eight
    1. Item {MD004} {MD007}
    1. Item {MD004} {MD007}
    1. Item {MD004} {MD007}