wp-syntax adding support for linewrapping

To add support in wp-syntax, you need to edit one .css file, go to Plugins, choose ‘Edit’ under WP-Syntax and from the right hand side select wp-syntax/css/wp-syntax.css.

Then locate line with:

.wp_syntax pre {`

and replace whole block of code (starting with .wp_syntax pre { ending with }) with:

.wp_syntax pre {
 	white-space:  normal;
 	white-space:  pre-wrap;
 	white-space: -moz-pre-wrap;
 	white-space: -pre-wrap;
 	white-space: -o-pre-wrap;
 
 	word-wrap: break-word;
 	font-family: courier;
 	overflow: hidden;
	background           : transparent !important;
	border               : none !important;
	margin               : 0 !important;
	padding              : 0 !important;
	width                : auto !important;
	float                : none !important;
	clear                : none !important;
	overflow             : visible !important;
	font-family          : monospace !important;
	font-size            : 12px !important;
	line-height          : 16px !important;
	padding              : 0 4px !important;
 
	-moz-box-shadow      : 0px 0px 0px rgba(0, 0, 0, 0) !important; /* FF3.5+ */
	-webkit-box-shadow   : 0px 0px 0px rgba(0, 0, 0, 0) !important; /* Saf3.0+, Chrome */
	box-shadow           : 0px 0px 0px rgba(0, 0, 0, 0) !important; /* Opera 10.5, IE 9.0 */
	-webkit-border-radius: 0 !important;
	-moz-border-radius   : 0 !important;
	border-radius        : 0 !important;
}
[Total: 0    Average: 0/5]