Skip to content

Markdown: Handle indents when appending or inserting ordered lines #1478

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

jeremypw
Copy link
Collaborator

@jeremypw jeremypw commented Oct 15, 2024

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 jeremypw changed the title Handle indents when appending or inserting ordered lines Markdown: Handle indents when appending or inserting ordered lines Apr 22, 2025
@jeremypw jeremypw marked this pull request as ready for review May 18, 2025 16:14
@jeremypw jeremypw requested a review from a team May 18, 2025 16:16
Base automatically changed from jeremypw/fix-markdown-numberedlist to master May 21, 2025 11:38
@jeremypw jeremypw marked this pull request as draft May 26, 2025 16:54
@jeremypw
Copy link
Collaborator Author

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

@jeremypw jeremypw added Status: Blocked Something else needs to be done before this can be fixed and removed Status: Blocked Something else needs to be done before this can be fixed labels May 26, 2025
jeremypw added 2 commits July 9, 2025 11:20
# Conflicts:
#	plugins/markdown-actions/markdown-actions.vala
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Markdown actions: Appending and inserting with indented ordered lists not handled correctly
1 participant