MacDownApp/macdown

Handle block quote like list item in editor

Open

#811 aperta il 16 mag 2017

Vedi su GitHub
 (13 commenti) (0 reazioni) (0 assegnatari)Objective-C (930 fork)batch import
enhancementhelp wanted

Metriche repository

Star
 (7686 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

In the editor, if you are editing a list item and you git return, you get a new line that starts with a list item marker. Hit return again without typing further on the live and you get another new line and the item markers disappear.

I like this.

In contrast, if you're in a block quote, new lines will all have the indicator at their starts (>), no matter that the line had nothing in it.

I don't like this and suggest modifying the behavior of the editor in block quotes to match that in lists.

Guida contributor