Changes between Version 15 and Version 16 of WikiTableMacro


Ignore:
Timestamp:
Dec 21, 2012 1:16:05 PM (20 months ago)
Author:
rjollos
Comment:

Added syntax highlighting.

Legend:

Unmodified
Added
Removed
Modified
  • WikiTableMacro

    v15 v16  
    1414 
    1515{{{ 
    16     {{{ 
    17     #!SQLTable 
    18         SELECT count(id) as 'Number of Tickets' 
    19         FROM ticket 
    20     }}} 
     16#!sql 
     17{{{ 
     18#!SQLTable 
     19    SELECT count(id) as 'Number of Tickets' 
     20    FROM ticket 
     21}}} 
    2122}}} 
    2223 
     
    2627 
    2728{{{ 
    28     {{{ 
    29     #!SQLScalar 
    30         SELECT count(id) as 'Number of Tickets' 
    31         FROM ticket 
    32     }}} 
     29#!sql 
     30{{{ 
     31#!SQLScalar 
     32    SELECT count(id) as 'Number of Tickets' 
     33    FROM ticket 
    3334}}} 
     35}}} 
     36 
    3437The result will be a single number.  
    3538 
     
    3942 1. '''Install''' globally with: 
    4043{{{ 
     44#!sh 
    4145  sudo easy_install https://trac-hacks.org/svn/wikitablemacro/0.11/ 
    4246}}} 
    4347 1. '''Enable''' the plugin by updating TracIni file (..../trac.ini) as follows: 
    4448{{{ 
     49#!ini 
    4550  [components] 
    4651  wikitable.* = enabled