hackmdio / hackmdio/codimd

parse error when there is spaces after `----` in slide mode

Aperta
#995 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
discussion enhancement
Lingua principale
JavaScript
Stelle
10.1k
Fork
1.1k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

In slide mode, we use `----` for branches.

If there are spaces after `----`, the parser could not parse it as branch, but rather see it as a division line in the slide.

Is this behavior on purpose?

![default](https://user-images.githubusercontent.com/18013815/46579265-92897600-ca40-11e8-858f-f62e613a30f5.png)
![default](https://user-images.githubusercontent.com/18013815/46579267-9ae1b100-ca40-11e8-8308-24af7d7bae08.png)

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Start by locating the slide-mode parser and its handling of lines beginning with `----`; reproduce the difference between a bare marker and one followed by spaces. Confirm the intended behavior with maintainers, then add coverage for the chosen behavior and verify that slide branches and division lines are distinguished correctly.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
javascript, markdown
Ambito
tooling
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.