I hope this is already on the development plan... but I would really like it if I could use v3 (for easy highlight/copy/pasting without grabbing line numbers) but still get zebra stripes on the default style like V2 does.
I hope this is already on the development plan... but I would really like it if I could use v3 (for easy highlight/copy/pasting without grabbing line numbers) but still get zebra stripes on the default style like V2 does.
i had the same 'problem';
it is these lines in the /syntaxhighlighter3/styles/shTheme??????.css files:
.syntaxhighlighter {
background-color: #0a2b1d !important;
}
.syntaxhighlighter .line.alt1 {
background-color: #0a2b1d !important;
}
.syntaxhighlighter .line.alt2 {
background-color: #0a2b1d !important;
}
they obviously have all the same bg-color (color various between the files)
for the time being, you could edit the plugin files;
or as i did, add the same lines with differentiated bg-colors into style.css of your theme, to overwrite the plugin styles.
I admit I didnt even look, but I assumed the line wrapping was the problem with the zebra stripes. If a line of code wraps it shouldn't change color but then that needs to be coordinated with the line number which in V3 is separate. I'll look later, if it's just CSS that'd be great, bit I suspect there is more to it.
You must log in to post.