Numbered list with 2-unit space indent not rendered in Preview pane

Preview pane does not rendered numbered list with 2 spaces as indent (already set as the tab size in Settings).

This does not affect unordered list, though.

Steps to reproduce

  1. Set Tab Size as 2 in Obsidian’s Settings > Editor.
  2. Make some numbered list items with 2-space indents and 4-space indents.
  3. Compare results in the Preview pane.

Environment

  • Operating system: macOS 10.15.7
  • Obsidian version: v0.11.3

not a bug. this is the spec.

The spec?

@WhiteNoise

If you set the tab size to 2, you can compare that unordered list is rendered properly whereas numbered list is not.

spec = specification.

again, this is normal. this is how markdown works.

https://spec.commonmark.org/dingus/?text=-%20a%20%20 %20%20-%20b 1.%20a%20%20 %20%202.%20b

Wow! That’s a shocker. Severely limits the way I put create public documents…

Obsidian is marketed as a knowledge base; Notes. Depending on what you mean by “public documents”, for instance if you mean things like legal or government documents, you’d probably want to use something with specific typesetting or word processing features.

Otherwise, in Markdown, you can always override the format with html tags to get specific styling.