Link rendering inconsistency

Steps to reproduce

  1. Open a file
  2. make a link with no indentation.
  3. Indent 1 time and put another link

Did you follow the troubleshooting guide?

Yes.

Expected result

The indented line should render as being a sub point of the above link.

BugReport2

Actual result

The indented line is highlighted as if it has been indented too much.

BugReport3

Environment

SYSTEM INFO:
Obsidian version: 1.12.7
Installer version: 1.12.4
Operating system: #1 SMP PREEMPT_DYNAMIC Debian 6.12.73-1 (2026-02-17) 6.12.73+deb13-amd64
Login status: logged in
Language: en
Catalyst license: none
Insider build toggle: off
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: on


Additional information

Behavior is varied based on the formatting of the lines above the links. See below for an example of which types of formatting have what behavior.

Your second screenshot looks like a quirk of Live preview. If you switch to Reading view, you’ll see that line isn’t indented at all. The typical behavior with an indent (a tab or 3+ spaces), with a blank line above and below, is to create a code block; my second example.

In markdown, you can really only indent in a sub-list; my third example.

- https://1.1.1.1
	- https://1.1.1.1

live preview | reading view

Yea you are right. I didn’t think to view it in reading mode and yea I guess I mixed up the problem i was attempting to describe with the code block on indent feature. The main thing that caused me to want to file a bug report is that this inconsistent formatting seems to break links when chained together. (see image two below). But it doesn’t break the link below in read mode. (see image one below).

Image one:

Image two: