gsantner / gsantner/markor

Disable auto renumbering the ordered list on pasting/inserting newline etc

Open
#2,436 7 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
6.1k
Forks
537
Avg merge
1d 18h
Merged PRs (30d)
4

Description

### ⚠️ This issue respects the following points: ⚠️

- [X] This is a **enhancement/feature request**. Not a [bug or question](https://github.com/gsantner/markor/issues/new/choose).
- [X] The topic is **not** already reported at [Issues](https://github.com/gsantner/markor/issues?q=#js-issues-search). _(I've searched it)_.
- [X] Markor **is** up to date. See [Releases](https://github.com/gsantner/markor/tags) for the latest version. Updates are available from [F-Droid](https://f-droid.org/en/packages/net.gsantner.markor/) and GitHub.
- [ ] Not tested
The wanted feature/enhancement is not present in the latest development version (git master). (Please [download](https://nightly.link/gsantner/markor/workflows/build-android-project/master) and try the test version of Markor, named **Marder**. Don't worry; Markor and Marder appear as completely separate applications. You can install both side-by-side, and Markor's settings are not touched. If your desired feature is present, you don't need to open this issue. The change will be part of the next Markor update.)

### Description

Disable auto renumbering the ordered list on pasting/inserting newline etc

1. When working with explicitly numbered ordered list, like `5.` in asciidoc (& i suppose md too) ,
2. and doing various actions like insert newline, delete an item, paste an item etc...
3. all the carefully crafted custom numbering like ssy `10. 9. 8. ...` get replaced with the unintended `1. 2. 3. ...`

then
* this becomes a source of constant struggle and fighting with app
* a slight forgetting of this push-pull, and u find u have done many many edits thereafter
* the undo-redo, and save stuff often glitches out with cut-pasting operations.

this often then leads to important data being overwritten or lost.

### Information

Android version: 13
Device: rmx3381
App Version: v2.12.5 (154)

### Source

F-Droid

### Format / File type

Not specific

### Additional info / Log

```shell
-
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the behavior in Markor v2.12.5 with an explicitly numbered AsciiDoc list, then try inserting a newline, deleting an item, and pasting an item. Trace the editor's ordered-list renumbering behavior; done means custom numbering such as 10. 9. 8. remains unchanged after these actions.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.