Changes between Version 1 and Version 2 of NumberedHeadlinesPlugin


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

--

Legend:

Unmodified
Added
Removed
Modified
  • NumberedHeadlinesPlugin

    v1 v2  
    2121You can check out NumberedHeadlinesPlugin from [http://trac-hacks.org/svn/numberedheadlinesplugin here] using Subversion, or [source:numberedheadlinesplugin browse the source] with Trac. 
    2222 
    23 == Example == 
     23== New Wiki Syntax == 
    2424 
    2525The wiki syntax for numbered headlines is a follows: 
     
    3636}}} 
    3737 
    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. 
     38You 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. 
    3939 
     40== Example == 
     41The following wiki text: 
    4042{{{ 
    4143= Introduction = 
     
    4648## Section 1.2 ## 
    4749### Subsection 1.2.1 ### 
     50=== Unnumbered === 
    4851### Subsection 1.2.2 ### 
    4952# Chapter 2 # 
     
    5558}}} 
    5659 
     60will be displayed like this: 
     61 
    5762{{{ 
    5863#!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> 
    7381}}} 
    74  
    75  
    76  
    7782 
    7883