Softwrap at words for Markdown editing

Andreas Schamanek <[email protected]> Sun, 29 Sep 2024 12:12:18 +0200 (CEST)
Newsgroups gmane.editors.nano.general
Message-ID <[email protected]>
Hi nano fellows,

I am often editing Markdown texts in an 80 columns wide terminal using 
nano with --softwrap. Due to the fact that many URLs these days are 
longer than what easily fits 1 line, quite often we see Markdown links 
produce quite some empty space. Like e.g. after "[This" in

   [This
   example](https://www.this.example.org/archive/2024/long-...-url)

I think my personal preference would be to see a softwrap between 
`example]` and `(https...`

Am I right that nano cannot do this currently because --atblanks wraps 
at blanks only and there is no option to make nano wrap at 
punctuation, "wordbounds" or "wordchars"? Or did I miss something?

Am I a weirdo to use nano in a terminal for Markdown editing? Or is 
that a not so uncommon use case?

-- 
-- Andreas

      :-)