Changes between Version 4 and Version 5 of NumberedHeadlinesPlugin
- Timestamp:
- Nov 4, 2008, 3:56:01 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
NumberedHeadlinesPlugin
v4 v5 5 5 6 6 This 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 10 The wiki syntax for numbered headlines is a follows: 11 {{{ 12 Instead of: 13 == Unnumbered Headline == 14 or 15 == Unnumbered Headline ==#ownID 16 17 write: 18 ## Numbered Headline ## 19 or 20 ## Numbered Headline ##=ownID 21 }}} 22 23 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. 24 25 26 == Installation == 27 28 Use can `easy_install` this plugin: 29 {{{ 30 easy_install http://trac-hacks.org/svn/numberedheadlinesplugin/0.11 31 }}} 32 33 If you use Subversion 1.5.x you might get an error, then just try: 34 {{{ 35 svn export http://trac-hacks.org/svn/numberedheadlinesplugin/0.11 numberedheadlinesplugin 36 easy_install numberedheadlinesplugin 37 }}} 38 Afterwards you can remove the `numberedheadlinesplugin` folder. 39 40 On some Linux systems you might need to run `easy_install` using `sudo`, e.g: `sudo easy_install ....` 41 42 == Configuration == 43 To enable this plugin put the following into your `trac.ini` configuration file: 44 {{{ 45 [components] 46 tracnumberedheadlines.* = enabled 47 }}} 7 48 8 49 == Bugs/Feature Requests == … … 21 62 22 63 You 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 or31 == Unnumbered Headline ==#ownID32 33 write:34 ## Numbered Headline ##35 or36 ## Numbered Headline ##=ownID37 }}}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.40 64 41 65 == Example ==