mdx_truly_sane_lists icon indicating copy to clipboard operation
mdx_truly_sane_lists copied to clipboard

This supports ONLY two spaces but not either 2/4 spaces

Open ThiefMaster opened this issue 3 years ago • 2 comments

Both GFM and CommonMark are flexible so you can use either 2 or 4 space indentation as long as you are consistent. But when using mdx_truly_sane_lists I can suddenly use only 2 space indentation, and 4-space indentation no longer works properly.

ThiefMaster avatar Dec 06 '22 11:12 ThiefMaster

@ThiefMaster I found that changing the nested indent option to 4 allows it to correctly created nested lists with 3 or 4 spaces of indentation. However, by default it only supports markdown with two spaces for each level of nested list. I am not quite sure why setting it to 4 allows both three and four spaces, but for commonmark, three seems to be minimum needed for a nested ordered list.

I don't see any tests covering nested ordered lists either, so it's possible this worked at one time.

jtreher avatar Apr 19 '23 11:04 jtreher

would really like to see flexible indentation, this is what github flavored markdown supports

  • as
    • seen
    • on
      • TV!

swyxio avatar Dec 21 '23 22:12 swyxio