developit / developit/snarkdown

Nested lists not working

Offen
#104 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
2.4k
Forks
116
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

I would like to have nested lists. I cannot get them to work. I tried various "styles" (e.g., 2 spaces, 4 spaces). See example below.

## Example

**Markdown input**
```
* Fruit
* Apple
* Orange
* Milk
* Cheese
```

**Expected output**
```


  • Fruit

    • Apple

    • Orange



  • Milk

    • Cheese




```

**Actual output**
```


  • Fruit


Apple
Orange

  • Milk


Cheese
```

## Context

snarkdown 2.0.0

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

Start by reproducing the nested-list Markdown example from the issue against snarkdown 2.0.0, then locate the parser entry point that handles list markers and indentation. Compare the generated HTML with the expected output; done means nested list items produce nested

    elements rather than emphasis or plain text.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
javascript
Bereich
tooling
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
42/100

Neue Issues direkt in Ihr Postfach

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