Ceki Gulcu skrev:
Hello Thorbjoern,
I am in favor of "code prettifiers" as long as they allow us to
emphasize, e.g. present in bold, selected parts of the code, but if
not, then I prefer ugly. :-)
Thorbjoern Ravn Andersen wrote:
Ceki Gulcu skrev:
Hello Thorbjørn,
Do you intend to pursue this effort on coloring? As this revision
stands, I don't see the point... Put differently, it looks like a
lot of effort for a meager result. WDYT?
Been busy with other things the last few days.
Meager? Don't think so! And it was trivially simple to do with
vim, so if it would make it more readable it is a benefit to the
documentation.
I was inspired by the way StackOverflow presents its code snippets,
and it turns out they use Prettify:
http://code.google.com/p/google-code-prettify/
which uses Javascript. Perhaps that would both be easier, simpler to
maintain and ... well... prettier :)
Please don't toppost.
I'll revert it for now, and come back to it later. I found that Bruce
Eckell uses it in his book Thinking in C++ so there is at least another
author I can locate who use it :)
--
Thorbjørn Ravn Andersen "...plus... Tubular Bells!"
_______________________________________________
dev mailing list
dev@slf4j.org
http://www.slf4j.org/mailman/listinfo/dev