Code format indents at 7 chars (edit) vs 8 chars (preview) in lists


  • Obsidian 0.10.11
  • macOS 11.2.3


  • Code formatting is not consistent between edit and preview panes when indenting inside of a list


  • Paste the below text into an edit pane. Observe that the “some code” line becomes code formatted in edit view, but until you add an additional space (7->8) it doesn’t turn into code in the preview pane:
1. Example:

       some code


Just updating that this is still happening as of 0.12.0