[RESOLVED] Nested lists of different types can't be indented with a code block

  • Bear Version: v2.3.11 (13182)
  • OS Version: 15.3
  • What were you doing: creating an ordered list where an entry contains a code block and then a nested unordered list
  • What feature did you use: Ordered List, Unordered List, Code Block
  • What happened: the unordered list will not indent under the code block
  • What did you expect to happen: unordered list able to be indented under code block

The below screenshot shows the situation in Bear, with a code block below it for the markdown.

1. This is an ordered list
\```md
This is some code
\```
- example
2. This is the second point of an ordered list

Edited – escape code block in code block

The reason is that the code block is after the first list item, not inside it. Indent the code block to make it part of the first list item.

1 Like

That makes perfect sense!