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:
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)
It works OK, but it's still not readable. Fortunately with Dr. Bunsen formd
tool you can switch between reference and inline urls:
Written by Wojtek Ryrych
Related protips
1 Response
There's some problem with displaying 3 images.
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Vim
Authors
Related Tags
#vim
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#