Misdisplay when using - [ ] after indentation

when adding indentation before - , it turns into codeblock like style

æˆȘć±2025-02-13 侊捈1.20.13

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
1 Like

Thank you! But isn’t that counter-intuitive in this case?

I don’t know how to answer that. You can learn more about the basics of Markdown here. Basic Syntax | Markdown Guide

In Markdown, leading indentation means something. It means you want it to be code. So if you don’t want it to be code, don’t do that. That’s all I can say! :slight_smile:

1 Like

You shouldn’t need to add more than one indentation level for the logical structure to work, so whenever you add more than one indentation level you are likely to end up with code blocks.

When thinking logical structure, and not visual appearance, it does make sense.

If you do want to think visual appearance, you should look into using CSS to increase the indentation for the items you want to have at a higher indentation visually speaking.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.