Alir3z4 / Alir3z4/html2text

Continue '>' lead for blockquotes wrapped across multiple lines

Aperta
#303 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
2.2k
Fork
296
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

html2text 2019.8.11, Python 3.7.4
```
% echo "

Lorem ipsum dolor sit
post" | python -m html2text -b 8
> Lorem
ipsum
dolor
sit

post
```
This is known as "lazy mode" as far as I know, and while it works and can be parsed back to HTML from Markdown, it would be awesome to have an option that governs the conversion such that the `>` leader is prefixed to every line:
```
% echo "

Lorem ipsum dolor sit
post" | python -m html2text -b 8
> Lorem
> ipsum
> dolor
> sit

post
```
Thank you for your consideration!

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.