Code Snippets w/ WP-Syntax

Hello! This is a test on adding code snippets with syntax highlighting to a WP site.

Syntax highlighting can be done with the WP-Syntax plugin (currently version 1.0).

That being said, I had to make an edit to the wp-syntax.css file to get line numbering to work correctly.

.wp_syntax td.code{
	background-color: #EEE;
	background-image: -webkit-linear-gradient( transparent 50%, rgba(255, 255, 255, .9) 50% );
	background-image: -moz-linear-gradient( transparent 50%, rgba(255, 255, 255, .9) 50% );
	background-image: -ms-linear-gradient( transparent 50%, rgba(255, 255, 255, .9) 50% );
	background-image: -o-linear-gradient( transparent 50%, rgba(255, 255, 255, .9) 50% );
	background-image: linear-gradient( transparent 50%, rgba(255, 255, 255, .9) 50% );
	background-size : 1px 32px;
	line-height     : normal !important;
	white-space     : normal !important;
	width           : 100% !important;
	padding-left: 10px !important;
}

Without this edit, there is overlap between the line numbers and the code.