Indented code block missing indentation guide line for the end markers

Steps to reproduce

Type this text in Live Preview


- one
    test
	```cpp
		test
	```

Did you follow the troubleshooting guide? [Y/N]

Y. In sandbox mode, restricted

Expected result

Indentation guide smoothly extending from the starting marker to the end marker, matching with the indentation guides of internal content of the code block and outside text

Actual result

Indentation guide exist for the starting code markers (but is not aligned to external text), code content inside has indentation guides but is misaligned with outside text (and of course the starting markers), and the indentation guide for end markers does not exist

Environment

SYSTEM INFO:
Obsidian version: v1.11.4
Installer version: v1.6.7
Operating system: #91-Ubuntu SMP PREEMPT_DYNAMIC Tue Nov 18 14:14:30 UTC 2025 6.8.0-90-generic
Login status: not logged in
Language: en
Insider build toggle: off
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: on
RECOMMENDATIONS:
none


Additional information

For the indentation guide mismatch for internal code content and starting marker, one can hack fix this with css. For the end marker, I cannot find a way to make a marker appear .

Ubuntu KDE. same issue for Ubuntu GNOME, though I don’t remember if the mismatch is exactly the same for GNOME

I think this could potentially be a known issue:

Yeah I watch that thread often. Though some bugs are fixed, stuff like indentation guides change every other update or something. And that thread is too general about anything code-in-indent, so it feels inappropriate to add to.

1 Like

Ok, please post this in that other thread, if it’s not already there. Thanks.