Indentation is broken in 1.5.3

When I press TAB to indent list item, instead of getting a positive indentation it gets a negative one.

Check out the video:

Editor configuration:

So as you see:

  • the tab size is set to 2
  • using tab characters is switched off

Now if I change the former to 4 characters, the bug seems to go away:

With tab size = 3 the bug triggers even “earlier” on the 4th nesting level:

	Obsidian version: v1.5.3
	Installer version: v1.5.3
	Operating system: #15~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Jan 12 18:54:30 UTC 2 6.5.0-15-generic
	Login status: logged in
	Catalyst license: none
	Insider build toggle: off
	Live preview: on
	Base theme: adapt to system
	Community theme: none
	Snippets enabled: 0
	Restricted mode: off
	Plugins installed: 0
	Plugins enabled: 0

1 Like

Thanks for pointing this out. It turns out the amount of spaces matters. Let me update my report.

Experimented with 3 and 4 tab sizes. Please check out the first message.

If I’m not mistaking, according to the Markdown spec, there should be exactly 4 spaces for list indentation. So I doubt it should be configurable at all.

Please continue this conversation here: