glow icon indicating copy to clipboard operation
glow copied to clipboard

Word wrap is broken in quotes

Open parabolapersuader opened this issue 3 years ago • 1 comments

glow

In fact, that is a single line, a greater sign to mark the quote, a space, and the whole phrase unbroken. Yet glow can't handle THREE words in this single paragraph.

parabolapersuader avatar Aug 06 '21 22:08 parabolapersuader

Hey charmbracelet/glow Maintainers, I got here via #hacktoberfest 2021 -- was wondering if this is something I can look at?

--

To Reproduce

  1. Create a test quote: echo ">This line has 25 charrrs." > test.md
  2. Run glow command with word wrap option: glow -w 6 test.md

Screenshots image

Environment glow - built from source go1.15.6 darwin/amd64

ammpedro avatar Oct 02 '21 13:10 ammpedro