elementary / elementary/code

Markdown actions: Deleting from ordered list does not update numbering

Offen
#1,476 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Priority: Low
Vorherrschende Sprache
Vala
Sterne
521
Forks
118
Ø Merge
1 T. 8 Std.
Gemergte PRs (30 T.)
14

Beschreibung

### What Happened?

Deleted line from middle of ordered list - the remaining lines were not renumbered

### Steps to Reproduce

1. Create an ordered list
2. Delete a line before the last
3. Note numbers incorrect

### Expected Behavior

The list is renumbered. Admittedly, Github does not do this in the source but the preview is correctly numbered so fixing this may not be that important. It appears that for GitHub at least as long as the source lines start with a number (in any order) the preview is correctly numbered.

### OS Version

7.x (Horus)

### Session Type

Classic Session (X11, This is the default)

### Software Version

Latest release (I have run all updates)

### Log Output

_No response_

### Hardware Info

_No response_

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.