NUKnightLab / learncms

Learn.Knightlab.com CMS version
8 stars 5 forks source link

Word-wrap in code-block please #58

Open emilywithrow opened 9 years ago

emilywithrow commented 9 years ago

URLs be long

JoeGermuska commented 9 years ago

how would you wrap URLs without introducing whitespace inaccuracies for copy-paste? Do there need to be editorial rules as well as technical ones?

JoeGermuska commented 9 years ago

See also #25 for editorial style rules around using code-block

JoeGermuska commented 9 years ago

@emilywithrow please let us know what you think needs doing here

emilywithrow commented 9 years ago

Sorry I thought your first question was a rhetorical one. I have no idea how it would work, just like I don't know how it works in Sublime. If we can't do it we can't do it, but I couldn't figure out a URL that's so short that we wouldn't need word-wrap, that didn't redirect, which makes it pointless as an example. ...Worth a conversation so I can figure out what you're talking about?

On Fri, Oct 9, 2015 at 2:14 PM, Joe Germuska notifications@github.com wrote:

@emilywithrow https://github.com/emilywithrow please let us know what you think needs doing here

— Reply to this email directly or view it on GitHub https://github.com/NUKnightLab/learncms/issues/58#issuecomment-146964540 .

hbillings commented 9 years ago

If it's a clickable link, maybe truncate the middle of the url? I.e., www.knight…/index. Keep in mind I have no idea what I'm talking about.

hbillings commented 9 years ago

Alternately, maybe break on slashes?

JoeGermuska commented 9 years ago

transcribing an office convo suggestion from @zachwise: maybe we should implement horizontal scrolling. With a gradient, we might have the effect of an ellipsis so that it doesn't appear "broken"