Alir3z4 / Alir3z4/html2text

Continue '>' lead for blockquotes wrapped across multiple lines

オープン
#303 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
2.2k
フォーク
296
PR マージ指標
30日以内にマージされた PR はありません

説明

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!

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。