code icon indicating copy to clipboard operation
code copied to clipboard

Markdown: Handle indents when appending or inserting ordered lines

Open jeremypw opened this issue 1 year ago • 1 comments

Fixes #1475

Based on #1474

This PR ensures that new lines inserted into indented lists are numbered correctly.

Note that it does not globally renumber the whole list as we are not trying to be WYSIWYG. As far as markdown is concerned an ordered list item can start with any number and they will be renumbered correctly when rendered.

jeremypw avatar Oct 15 '24 13:10 jeremypw

Converting to draft while waiting for libpeas-2 to be fixed.

jeremypw avatar May 26 '25 16:05 jeremypw