not wrapping preformatted code on the wiki

James Walker kagi at jwwalker.com
Wed May 28 04:34:23 UTC 2008


Maybe it's just me, but it's been bugging me that the preformatted code 
samples on the Mercurial wiki soft-wrap when the window isn't wide 
enough.  If anyone else feels the same way, here's a solution:  Go to 
your wiki preferences page, and in the field "User CSS URL", enter:

http://www.jwwalker.com/mercurial-wiki.css

That will make a preformatted box get a horizontal scroll bar when there 
isn't enough room.



More information about the Mercurial mailing list