Changes between Version 1 and Version 2 of NumberedHeadlinesPlugin
- Timestamp:
- Nov 4, 2008, 3:48:37 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
NumberedHeadlinesPlugin
v1 v2 21 21 You can check out NumberedHeadlinesPlugin from [http://trac-hacks.org/svn/numberedheadlinesplugin here] using Subversion, or [source:numberedheadlinesplugin browse the source] with Trac. 22 22 23 == Example==23 == New Wiki Syntax == 24 24 25 25 The wiki syntax for numbered headlines is a follows: … … 36 36 }}} 37 37 38 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 `= <id name>`, which should be an valid XHTML name.38 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. 39 39 40 == Example == 41 The following wiki text: 40 42 {{{ 41 43 = Introduction = … … 46 48 ## Section 1.2 ## 47 49 ### Subsection 1.2.1 ### 50 === Unnumbered === 48 51 ### Subsection 1.2.2 ### 49 52 # Chapter 2 # … … 55 58 }}} 56 59 60 will be displayed like this: 61 57 62 {{{ 58 63 #!html 59 <h1>Introduction</h1> 60 <h1>1. Chapter 1</h1> 61 <h2>Section 1.1</h2> 62 <h3>Subsection 1.1.1</h3> 63 <h4>Subsection 1.1.2</h3> 64 <h2>Section 1.2</h2> 65 <h3>Subsection 1.2.1</h3> 66 <h3>Subsection 1.2.2</h3> 67 <h1>Chapter 2</h1> 68 <h2>Section 2.1</h2> 69 <h3>SubSubsection 2.1.1</h3> 70 <h4>SubSubsection 2.1.1.1</h3> 71 <h5>Paragraph 2.1.1.1.1</h4> 72 <h6>Subparagraph 2.1.1.1.1</h5> 64 <div style="border: thin solid ; padding-left: 1cm; width: 30em"> 65 <h1>Introduction</h1> 66 <h1>1. Chapter 1</h1> 67 <h2>1.1. Section 1.1</h2> 68 <h3>1.1.1. Subsection 1.1.1</h3> 69 <h4>1.1.2. Subsection 1.1.2</h3> 70 <h2>1.2. Section 1.2</h2> 71 <h3>1.2.1. Subsection 1.2.1</h3> 72 <h3>Unnumbered</h3> 73 <h3>1.2.2. Subsection 1.2.2</h3> 74 <h1>2. Chapter 2</h1> 75 <h2>2.1. Section 2.1</h2> 76 <h3>2.1.1. SubSubsection 2.1.1</h3> 77 <h4>2.1.1.1. SubSubsection 2.1.1.1</h3> 78 <h5>2.1.1.1.1. Paragraph 2.1.1.1.1</h4> 79 <h6>2.1.1.1.1. Subparagraph 2.1.1.1.1</h5> 80 </div> 73 81 }}} 74 75 76 77 82 78 83