Re: [SITE] Prettify code rendering - alternate way to implement

2011-02-27 Thread Simone Tripodi
agreed, but unfortunately I don't have any idea how to do it ATM to avoid it is included in every site, we could upload the prettify.(js|css) in the main site, then refer it always with an absolute link in projects, but to allow users choosing if having it or not, I don't know. What's wrong on ha

Re: [SITE] Prettify code rendering - alternate way to implement

2011-02-27 Thread Gary Gregory
Would it not be reasonable to expect all components to provide code examples? It seems like a shortcoming for a component to exclude examples. Gary On Feb 27, 2011, at 9:05, sebb wrote: > The current skin snapshot template unconditionally includes the code > needed to implement the Google code

[SITE] Prettify code rendering - alternate way to implement

2011-02-27 Thread sebb
The current skin snapshot template unconditionally includes the code needed to implement the Google code prettifier. This means that all component sites get the code, whether they want it or not. Perhaps a simpler method would be to use the a section in the individual site.xml ? This would als