Jorge Vargas schrieb: > +1 on making this the default it has +2 for sexy CSS.
Thanks for the flowers, I'm glad you like it. > one thing I notice, tracebacks get a weird CSS check out the red marks here. > http://paste.chrisarndt.de/paste/86f10f5c74414c26a37a54f760f0a5cb I took a look at this. It seems that Pygments wraps every traceback line in a SPAN with class "err" and emits the following CSS for the "default" color scheme: .source .err { border: 1px solid #FF0000 } /* Error */ The "trac" color scheme, for example, looks a bit nicer: http://paste.chrisarndt.de/paste/86f10f5c74414c26a37a54f760f0a5cb?st=trac SpammCan currently just lets Pygments generate the CSS for the current color scheme dynamically and includes it directly in the page. An optimization would be to render all CSS variants offline once and then include them in the distribution and just insert a proper stylesheet link when rendering the page. Since you'd be stuck then with the color schemes and styles available in Pygments at the time you did the export, I should maybe make this a config option. You could also report this as a bug to Pygments, IMHO the "err" class on every line is a bit overkill and should maybe be replaced with something more meaningful. Chris --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

