Skip to main content
Ben Nadel at cf.Objective() 2010 (Minneapolis, MN) with: Doug Hughes and Ezra Parker and Dan Wilson and John Mason and Jason Dean and Luis Majano and Mark Mandel and Brian Kotek and Wil Genovese and Rob Brooks-Bilson and Andy Matthews and Simeon Bateman and Ray Camden and Chris Rockett and Joe Bernard and Dan Skaggs and Byron Raines and Barney Boisvert and Simon Free and Steve 'Cutter' Blades and Seth Bienek and Katie Bienek and Jeff Coughlin
Ben Nadel at cf.Objective() 2010 (Minneapolis, MN) with: Doug Hughes Ezra Parker Dan Wilson John Mason Jason Dean Luis Majano Mark Mandel Brian Kotek Wil Genovese Rob Brooks-Bilson Andy Matthews Simeon Bateman Ray Camden Chris Rockett Joe Bernard Dan Skaggs Byron Raines Barney Boisvert Simon Free Steve 'Cutter' Blades Seth Bienek Katie Bienek Jeff Coughlin

XStandard Support Weighs In On The Color Coding Issue

By
Published

I have been working on color coding my code samples. Currently I keep the code samples in unordered lists. This gives me great control over the physical formatting (ie. line spacing, text wrapping, margins, etc), but makes color coding very difficult. Part of why I do this is because XStandard support suggested it. I also happen to feel that this is a fantastic way to handle it.

But, on the other hand, I WANT color coding. I figure I would run the problem by the XStandard people as they are the ones who had the original UL idea. They suggest, on output to page, converting the UL to PRE tags and then color coding that code (since it will have not other tags). I am currently messing around this idea, and I know that most of you out there use PRE tags... my problem is that it is just ganky. The line wrapping is less readable, the formatting is poor. I am not crazy about the PRE tags at all.

So, what to do?? Not sure just yet. I am fooling around with doing the PRE tags for my RSS feed and keeping the UL for my on-site display. The color coding itself is still not there though.

Reader Comments

I believe in love. I believe in compassion. I believe in human rights. I believe that we can afford to give more of these gifts to the world around us because it costs us nothing to be decent and kind and understanding. And, I want you to know that when you land on this site, you are accepted for who you are, no matter how you identify, what truths you live, or whatever kind of goofy shit makes you feel alive! Rock on with your bad self!
Ben Nadel
Managed hosting services provided by:
xByte Cloud Logo