Comments on 2019-06-25 Reflowing arbitrary text

Hmm it feels wrong to me that you’re basically do two parsings. Without having seen any code, wouldn’t it be cleaner to extend the markdown parser to do the steps you describe?

Andreas Gohr 2019-06-25 12:10 UTC


Yeah, that would be better, I’m sure. At the same time, I like using it as a black box. It would make it easy to exchange one Markdown parser for another.

– Alex Schroeder 2019-06-25 15:38 UTC


On my own homegrown gopher client, I have a keyboard command (or two) to reflow the text if needed. That way, I don’t go crazy trying to reflow those crazy baudbaby pages.

Sean Conner 2019-06-26 01:13 UTC


Yeah, VF-1 uses fold -w 70 -s if you use the fold command. So what you’re saying is:

  1. a human has to decide whether reflowing is possible
  2. a tool is used to reflow the entire page

I’m still operation under the assumption that we can do better, but it’s not a bad fallback. 🙂

– Alex Schroeder 2019-06-26 06:20 UTC


Please make sure you contribute only your own work, or work licensed under the GNU Free Documentation License. Note: in order to facilitate peer review and fight vandalism, we will store your IP number for a number of days. See Privacy Policy for more information. See Info for text formatting rules. You can edit this page if you need to fix typos. You can subscribe to updates by email without leaving a comment.

To save this page you must answer this question:

Please say HELLO.