Thanks. Done: XE-296 ALBAN SCHMID CLIENT SOLUTIONS SPECIALIST DIRECTOR, CHANNEL SOLUTION SERVICES CBS Interactive - Channel Tel: +41 21 943 03 86 Skype: albanschmid Rte Industrielle 2 | CP 138 | 1806 St-Légier, Switzerland CNETChannel.com
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Vincent Massol Sent: Wednesday, August 27, 2008 8:59 AM To: XWiki Users Subject: Re: [xwiki-users] Syntax highlighting does not seem to be working Hi Alban, Thanks for posting here rather than in the FAQ section on xwiki.org :) I've looked into it and the right syntax is {code:sql} The reason there is no formatting is simply because we're missing CSS rules for SQL formatting. For example entering this: {code:sql} SELECT ID, CITY, STATE FROM STATION WHERE LAT_N > 39.7; {code} Generates this: <div class="code"><pre><span class="sql-keyword">SELECT</span> ID, CITY, STATE <span class="sql-keyword">FROM</span> STATION <span class="sql-keyword">WHERE</span> LAT_N > 39.7;</pre></div> So all that is required is to add the CSS rules for the class "sql- keyword" (and there are probably more classes). Could you please raise a JIRA issue at http://jira.xwiki.org with this email content in it so that we can fix it? In the meantime you can customize the default skin you're using and add the CSS rules for the missing classes and it should work fine. Note that you can also add them inline to your page by using <style>...extra rules here...</style> For example: <style> .sql-keyword { color: green } </style> Thanks -Vincent On Aug 27, 2008, at 8:44 AM, Alban Schmid wrote: > Hello fellow xwiki users, > > > > I've installed the enterprise-installer-windows-1.4.1 to test xwiki. > One of the features I'm especially interested in is 'syntax > highlighting'. The problem is that it does not seem to be working. > > > > I'm trying to add a code snippet to a page using the corresponding > macro menu. > > > > The output is the following: > > > > {code:type=sql} > > SELECT, etc. > > {code} > > > > However, the rendering is neither color-coded for SQL keywords nor > bolded; on top of this shortcoming, underscores '_' are converted to > '_' on display level, which is not what I want; conclusion: the > 'syntax highlighting' feature does not seem to be working. Using > following variant does not help: > > > > {code:sql} > > SELECT, etc. > > {code} > > > > Can you please tell me if this is a bug with Radeox, or if there is > something else that I'm doing wrong. > > > > Thanks in advance for your help. > > > > Regards, > > > > > > ALBAN SCHMID > CLIENT SOLUTIONS SPECIALIST > CBS Interactive - Channel > Tel: +41 21 943 03 86 > > Skype: albanschmid > Rte Industrielle 2 | CP 138 | 1806 St-Légier, Switzerland > CNETChannel.com > > > > _______________________________________________ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users