Hello,
I am exploring the possible use of rich-cli as a markdown → text renderer for text-based email readers like mutt, in which I want to limit the width of the area where the text is being displayed.
If I have an input like:
sfda sdfdsa
sfda sdfdsa sfda sdfa sfd sadfsadfsad asdfafdsf asfasdfsadf asdfsdfasd asdfasdasdfa asdfasdfasdf asdfasdfsaf asfdsdfafds
```
sfda sdfdsa
sfda sdfdsa sfda sdfa sfd sadfsadfsad asdfafdsf asfasdfsadf asdfsdfasd asdfasdasdfa asdfasdfasdf asdfasdfsaf asfdsdfafds
```
Then rich-cli -w 80 converts it to:
sfda sdfdsa sfda sdfdsa sfda sdfa sfd sadfsadfsad asdfafdsf asfasdfsadf
asdfsdfasd asdfasdasdfa asdfasdfasdf asdfasdfsaf asfdsdfafds
sfda sdfdsa
sfda sdfdsa sfda sdfa sfd sadfsadfsad asdfafdsf asfasdfsadf asdfsdfasd
asdfasdasdfa asdfasdfasdf asdfasdfsaf asfdsdfafds
However I am searching for a way that in the code block (which could be a diff with long lines, for example), lines are never wrapped (like what GitHub does)…
Hello,
I am exploring the possible use of
rich-clias a markdown → text renderer for text-based email readers likemutt, in which I want to limit the width of the area where the text is being displayed.If I have an input like:
Then
rich-cli -w 80converts it to:However I am searching for a way that in the code block (which could be a diff with long lines, for example), lines are never wrapped (like what GitHub does)…