Last Updated: March 02, 2016
·
1.694K
· ryrych

Markdown long urls that play nicely with 80-character line length

As a rule of thumb you should keep line length to 80 characters. In Vim you can display where the boundry is with:

set colorcolumn=+1

Nothing, of course, stops you from exceding that number:

Picture

You can quicky shorten (wrap) lines to 80 characters using gq format tool. I'm using par for this purpose.

The text from the screenshot was formatteed with (from line 6):

gqG

(reformat text to the end of file)

Picture

It works OK, but it's still not readable. Fortunately with Dr. Bunsen formd tool you can switch between reference and inline urls:

Picture

1 Response
Add your response

There's some problem with displaying 3 images.

over 1 year ago ·