Kevin Powell - CommunityKP-C
Kevin Powell - Community2y ago
15 replies
rik

Breaking long lines of command lines, on mobile.

I've got a page with a long line of code. It's wrapped in <pre><code></code></pre>. It is the widest part of the page if I keep minimizing the rest as it doesn't break. It happens to be a git clone command, so it has a long URL on the end.

Is there a generally accepted place to break up the URL, and allow it to wrap? Do I need to specify something to make it typeset in a nice, obvious way to show that it was broken to display but shouldn't be on the command line?
Was this page helpful?