Parsing problems with Codeblock after a sublist item

Steps to reproduce

  1. Open a new blank document
  2. Make a bullet point note
  3. Below that make a sub-point
  4. Below that make a multi-line code snippet with some specified language
  5. Write something after that code snippet

Expected result

Text should be normal

Actual result

Text after the code snippet behaves like it is inside code snippet

Environment

  • Operating system: Linux - Manjaro
  • Debug info:
    SYSTEM INFO:
    Obsidian version: v0.13.23
    Installer version: v0.13.23
    Operating system: #1 SMP PREEMPT Thu Jan 20 13:58:19 UTC 2022 5.15.16-1-MANJARO
    Login status: not logged in
    Insider build toggle: off
    Live preview: on
    Legacy editor: off
    Base theme: dark
    Community theme: none
    Snippets enabled: 0
    Safe mode: on

RECOMMENDATIONS:
none


Additional information

Pasted image 20220204180158

source file:
Iterables & Iterators.md (1.7 KB)

I can’t reproduce. what is the exact source of your document. Attach the file here.

I have linked the document. If you unindent the 2 sub-points (select then Shift + Tab) it works fine. I have tested this in the help vault.

The problem is your unusual addition of whitespaces between the the bullet point and the text.
Instead of writing

- something

you write

-    something

For some reason, we don’t process it well.

I’m experiencing the exact same issue.

However, removing the extra spaces after the bullet character as per Parsing problems with Codeblock after a sublist item - #4 by WhiteNoise fixed this for me.

It was hard to tell that I had extra spaces after the dash, especially because I had copy-pasted content from Notion, not typed it out myself. I guess Notion adds extra spaces after the dash? Or something did. Not sure. :man_shrugging:

I’m on Arch Linux, Google Chrome 98.0.4758.80, and Obsidian v0.13.23.