Changes between Version 4 and Version 5 of NumberedHeadlinesPlugin


Ignore:
Timestamp:
Nov 4, 2008, 4:56:01 PM (6 years ago)
Author:
martin_s
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • NumberedHeadlinesPlugin

    v4 v5  
    55
    66This plug-in provides a new TracWiki syntax for numbered headlines (`h1`-`h6` HTML tags). The actual numbering is done using a CSS stylesheet, so older browser with non or only marginal CSS support might not display them correctly.
     7
     8=== New Wiki Syntax ===
     9
     10The wiki syntax for numbered headlines is a follows:
     11{{{
     12Instead of:
     13== Unnumbered Headline ==
     14or
     15== Unnumbered Headline ==#ownID
     16
     17write:
     18## Numbered Headline ##
     19or
     20## Numbered Headline ##=ownID
     21}}}
     22
     23You can mix both unnumbered and numbered headlines on the same wiki page. Headlines from first order (1x`#` on each side) to sixth order (6x`#` on each side) are supported. An own ID can be given by adding "`=`''idname''", which should be an valid XHTML name.
     24
     25
     26== Installation ==
     27
     28Use can `easy_install` this plugin:
     29{{{
     30easy_install http://trac-hacks.org/svn/numberedheadlinesplugin/0.11
     31}}}
     32
     33If you use Subversion 1.5.x you might get an error, then just try:
     34{{{
     35svn export http://trac-hacks.org/svn/numberedheadlinesplugin/0.11 numberedheadlinesplugin
     36easy_install numberedheadlinesplugin
     37}}}
     38Afterwards you can remove the `numberedheadlinesplugin` folder.
     39
     40On some Linux systems you might need to run `easy_install` using `sudo`, e.g: `sudo easy_install ....`
     41
     42== Configuration ==
     43To enable this plugin put the following into your `trac.ini` configuration file:
     44{{{
     45[components]
     46tracnumberedheadlines.* = enabled
     47}}}
    748
    849== Bugs/Feature Requests ==
     
    2162
    2263You can check out NumberedHeadlinesPlugin from [http://trac-hacks.org/svn/numberedheadlinesplugin here] using Subversion, or [source:numberedheadlinesplugin browse the source] with Trac.
    23 
    24 == New Wiki Syntax ==
    25 
    26 The wiki syntax for numbered headlines is a follows:
    27 {{{
    28 Instead of:
    29 == Unnumbered Headline ==
    30 or
    31 == Unnumbered Headline ==#ownID
    32 
    33 write:
    34 ## Numbered Headline ##
    35 or
    36 ## Numbered Headline ##=ownID
    37 }}}
    38 
    39 You can mix both unnumbered and numbered headlines on the same wiki page. Headlines from first order (1x`#` on each side) to sixth order (6x`#` on each side) are supported. An own ID can be given by adding "`=`''idname''", which should be an valid XHTML name.
    4064
    4165== Example ==