Edgewall Software

Changes between Version 10 and Version 11 of 0.12/WikiHtml


Ignore:
Timestamp:
Jul 16, 2012, 9:16:12 PM (12 years ago)
Author:
trac
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • 0.12/WikiHtml

    v10 v11  
    1 ** Note: this page was used to prepare the 0.12 version of wiki:/WikiHtml, see now directly that toplevel page **
     1** Note: this page documents the 0.12 version of Trac, see [[0.11/WikiHtml]] if you need the previous version **
    22= Using HTML in Wiki Text =
    33
     
    4545  {{{
    4646  {{{
    47   #!div class="important" style="border: 2pt solid; text-align: center"
    48   This is the ''only'' way to go in Trac 0.11
    49   }}}
    50 
    51   {{{
    52   #!div class="wikipage" style="border: 1pt dotted"
    53   Only `wikipage` (same as specifying no class attribute)
    54   }}}
    55 
    56   {{{
    57   #!div class="wikipage compact " style="border: 1pt solid"
    58   Use combined classes (`compact` and `wikipage`)
    59   }}}
    60 
    61   {{{
    62   #!div class="compact" style="border: 1pt dotted"
    63   Only `compact`
    64   }}}
    65 
    66   {{{
    67   #!div class="" style="border: 1pt solid"
    68   No classes (//not// the same as specifying no class attribute...)
     47  #!div class="important"
     48  **important** is a predefined class.
     49  }}}
     50  }}}
     51  {{{
     52  {{{
     53  #!div style="border: 1pt dotted; margin: 1em"
     54  **wikipage** is another predefined class that will
     55  be used when no class is specified.
     56  }}}
     57  }}}
     58  {{{
     59  {{{
     60  #!div class="compact" style="border: 1pt dotted; margin: 1em"
     61  **compact** is another predefined class reducing
     62  the padding within the `<div>` to a minimum.
     63  }}}
     64  }}}
     65  {{{
     66  {{{
     67  #!div class="wikipage compact" style="border: 1pt dotted"
     68  Classes can be combined (here **wikipage** and **compact**)
     69  which results in this case in reduced //vertical//
     70  padding but there's still some horizontal space for coping
     71  with headings.
     72  }}}
     73  }}}
     74  {{{
     75  {{{
     76  #!div class="" style="border: 1pt dotted; margin: 1em"
     77  Explicitly specifying no classes is //not// the same
     78  as specifying no class attribute, as this will remove
     79  the //wikipage// default class.
    6980  }}}
    7081  }}}
    7182}}}
    7283{{{#!td style="padding-left: 2em"
    73   {{{
    74   #!div class="important" style="border: 2pt solid; text-align: center"
    75   This is the ''only'' way to go in Trac 0.11
    76   }}}
    77 
    78   {{{
    79   #!div class="wikipage" style="border: 1pt dotted"
    80   Only `wikipage` (same as specifying no class attribute)
    81   }}}
    82 
    83   {{{
    84   #!div class="wikipage compact " style="border: 1pt solid"
    85   Use combined classes (`compact` and `wikipage`)
    86   }}}
    87 
    88   {{{
    89   #!div class="compact" style="border: 1pt dotted"
    90   Only compact
    91   }}}
    92 
    93   {{{
    94   #!div class="" style="border: 1pt solid"
    95   No classes (//not// the same as specifying no class attribute...)
    96   }}}
     84
     85  {{{
     86  #!div class="important"
     87  **important** is a predefined class.
     88  }}}
     89
     90  {{{
     91  #!div style="border: 1pt dotted; margin: 1em"
     92  **wikipage** is another predefined class that will
     93  be used when no class is specified.
     94  }}}
     95
     96  {{{
     97  #!div class="compact" style="border: 1pt dotted; margin: 1em"
     98  **compact** is another predefined class reducing
     99  the padding within the `<div>` to a minimum.
     100  }}}
     101
     102  {{{
     103  #!div class="wikipage compact" style="border: 1pt dotted"
     104  Classes can be combined (here **wikipage** and **compact**)
     105  which results in this case in reduced //vertical//
     106  padding but there's still some horizontal space for coping
     107  with headings.
     108  }}}
     109
     110  {{{
     111  #!div class="" style="border: 1pt dotted; margin: 1em"
     112  Explicitly specifying no classes is //not// the same
     113  as specifying no class attribute, as this will remove
     114  the //wikipage// default class.
     115  }}}
     116
    97117}}}
    98118
     
    314334}}}
    315335
    316 Please note that the character sequence "--" is not allowed in HTML comments, and will generate a rendering error.
     336Please note that the character sequence "`--`" is not allowed in HTML comments, and will generate a rendering error.
    317337
    318338