Changes between Version 15 and Version 16 of CollapsiblePlugin


Ignore:
Timestamp:
Oct 9, 2016, 3:15:45 PM (7 years ago)
Author:
figaro
Comment:

Moved example to functional description

Legend:

Unmodified
Added
Removed
Modified
  • CollapsiblePlugin

    v15 v16  
    66
    77This plugin allows you to embed foldable structures in wiki pages, in the style of the Trac ticket attachments foldable structure. The plugin utilizes two macros: one to denote the start of a foldable structure, and one to denote the end of the structure. Foldable text supports WikiFormatting and nested folds, so long as spacing is accomplished by the former.
     8
     9For structures with a title:
     10
     11{{{
     12[[CollapsibleStart(Title-of-Structure)]]
     13
     14WikiFormatted text inside foldable structure.
     15
     16[[CollapsibleEnd]]
     17}}}
     18
     19For structures without a title:
     20
     21{{{
     22[[CollapsibleStart]]
     23
     24WikiFormatted text inside foldable structure.
     25
     26[[CollapsibleEnd]]
     27}}}
    828
    929'''Note:''' There exists a 0.11 branch of this plugin, but it does not work with Trac 0.11. See #8942 for more details.
     
    3353General instructions on installing Trac plugins can be found on the [TracPlugins#InstallingaTracplugin TracPlugins] page.
    3454
    35 == Example
    36 
    37 For structures with a title:
    38 
    39 {{{
    40 [[CollapsibleStart(Title-of-Structure)]]
    41 
    42 WikiFormatted text inside foldable structure.
    43 
    44 [[CollapsibleEnd]]
    45 }}}
    46 
    47 For structures without a title:
    48 
    49 {{{
    50 [[CollapsibleStart]]
    51 
    52 WikiFormatted text inside foldable structure.
    53 
    54 [[CollapsibleEnd]]
    55 }}}
    56 
    5755== Feedback
    5856