Setting for indent width for lists in editor

I kinda got it to work with this css

.cm-hmd-list-indent > .cm-tab {
  margin-left: 20px;
}

(don’t really know how it works, just copied a chunk I found when searching for HyperMD-list-line)

Problem now is the lines that are wrapped around have weird indent and I don’t know how to fix. Similar issue to this Indent wrapped lines within nested lists in edit more

Edit: After switching from tabs to spaces for lists, the css no longer works

2 Likes