Skip to content
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

Marktext should not renumber existing numbered lists #2035

Closed
N0rbert opened this issue Apr 8, 2020 · 3 comments
Closed

Marktext should not renumber existing numbered lists #2035

N0rbert opened this issue Apr 8, 2020 · 3 comments

Comments

@N0rbert
Copy link

N0rbert commented Apr 8, 2020

Description

Using MarkText with version control system become difficult because of renumbering lists.

Steps to reproduce

  1. Have simple Markdown document with numbered list inside:

    Some text before list:
    
    1. First item
    1. Second item
    1. Third item
    
    Some text after list.
    
  2. Open this document using MarkText

  3. Save the document

Expected behavior:

the MarkText does not change the document

Actual behavior:

the MarkText changed the document contents and replaced second "1." and third "1." to "2." and "3.":

Some text before list:

1. First item
2. Second item
3. Third item

Some text after list.

this behavior is unexpected and messes diifs in the version control systems. And it causes mdl to produce MD029 Ordered list item prefix rule violation.

Versions

  • Mark Text: v0.16.1 AppImage
  • Operating system: Ubuntu MATE 16.04 LTS
@fxha
Copy link
Contributor

fxha commented Jun 6, 2020

I'm closing this issue in favour of #2189. You may want to subscribe there for further updates.

@N0rbert
Copy link
Author

N0rbert commented Nov 29, 2021

Still not fixed in 0.16.3.

@N0rbert
Copy link
Author

N0rbert commented Feb 6, 2022

Still not fixed in v0.17.0-rc.1.

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

No branches or pull requests

2 participants