charmbracelet / glamour

Stylesheet-based markdown rendering for your CLI apps 💇🏻‍♀️
MIT License
2.47k stars 180 forks source link

Block rendering have problems with line-wrapping #107

Open dvaerum opened 3 years ago

dvaerum commented 3 years ago

Hey, first of great project :smiley:

Now to the bug, when I render the markdown file systemD.md (had to upload it as a TXT file) I see some weird line-wrapping.

You can see the weird line-wrapping in this screenshot Screenshot

The current version of glow I am using is 1.3.0.

I will provide additional information if needed, and I can also help with testing.

dlvhdr commented 2 years ago

I'm having similar issues...

I would expect BlockQuote to wrap things properly and still keep the | borders so they are always at the left of the content, even in the case of wrapping.

Same with tables, I would expect the content in the table to wrap somehow, and not the borders.

MohammadBnei commented 8 months ago

I have similar problems in a bubbletea cli app. I would love if glamour had an option to disable wordwrap, so that I could set it up myself !