Misdisplay when using - [ ] after indentation

That’s right. That’s how Markdown works. Indenting something without a parent indicates you want code or pre-formatted text.

If you want to indent a bullet or checkbox, it needs a parent bullet or checkbox. It’s the same on this forum, which also uses Markdown:

  • Testing
    • Testing 2
      • Testing 3

Or just a parent bullet:

  • Testing
    • Testing 2
      • Testing 3

And without a parent:

- [ ] Testing is code block

What I typed to show that:

- [ ] Testing
    - [ ] Testing 2
        - [ ] Testing 3

Or just a parent bullet:

- Testing
    - [ ] Testing 2
        - [ ] Testing 3

And without a parent:

    - [ ] Testing is code block