Changes between Version 22 and Version 23 of NumberedHeadlinesPlugin
- Timestamp:
- Jan 17, 2016, 2:10:29 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
NumberedHeadlinesPlugin
v22 v23 7 7 This plugin provides a new TracWiki syntax for numbered headlines (`h1`-`h6` HTML tags). This manual is for Trac version 0.3 from Oct 2009. 8 8 9 === New Wiki Syntax 10 11 The wiki syntax for numbered headlines is a follows: 9 The new wiki syntax for numbered headlines is as follows: 12 10 {{{ 13 11 Instead of: … … 22 20 }}} 23 21 24 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 anvalid XHTML name.22 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`, of which idname should be a valid XHTML name. 25 23 26 24 == Bugs/Feature Requests … … 55 53 56 54 The following options can be added to select if: 57 * headlines in outlines (`PageOutline`, TocMacro) should be numbered (#4521, #5241)55 * headlines in outlines (`PageOutline`, `TocMacro`) should be numbered (#4521, #5241) 58 56 * numbering should start at the second level (`##`/`h2`) not at the first level (#4907) 59 57 … … 134 132 }}} 135 133 136 === User Specified Numbers 134 === User Specified Numbers - example 1 137 135 138 136 Since v0.2.1 leading zeros are ignored, which allows the use of numbered sections under an unnumbered chapter. This feature relates to ticket #4907. … … 153 151 }}} 154 152 155 === User Specified Numbers 153 === User Specified Numbers - example 2 156 154 157 155 Since v0.3 the numbers can be provided by the user to set or reset the counting. The numbers are simply written before the headline text followed by a space. 158 156 159 Single numbers set the value of the current level, while multiple numbers ( '`1.2.3.`') set the values from the current level upwards.160 Leading numbers as part of the headline text can be protected by using a dot followed by a space ( '`. `') before them, e.g. '`## . 99 Red Balloons ##`'. This feature relates to ticket #4907.157 Single numbers set the value of the current level, while multiple numbers (`1.2.3.`) set the values from the current level upwards. 158 Leading numbers as part of the headline text can be protected by using a dot followed by a space (`. `) before them, for example `## . 99 Red Balloons ##`. This feature relates to ticket #4907. 161 159 162 160 {{{ … … 234 232 '''Author:''' [wiki:martin_s] [[BR]] 235 233 '''Maintainer:''' [[Maintainer]] [[BR]] 236 '''Contributors:''' 234 '''Contributors:''' [wiki:JoshuaH] (Page Outline support, see #4521)