Alir3z4 / Alir3z4/html2text

Continue '>' lead for blockquotes wrapped across multiple lines

未关闭
#303 0 条评论 0 个 reaction 已指派 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 摘要。