markdownlint/test/lists-with-nesting.md

593 B

Heading

Excessive nesting

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

Insufficient nesting

  • one
  1. two
  2. three
  • four
  1. one
  • two {MD006}
  • three
  1. four

Correct nesting, same type

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

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