Changes between Initial Version and Version 1 of NumberedHeadlinesPlugin


Ignore:
Timestamp:
Nov 4, 2008, 3:35:06 PM (15 years ago)
Author:
Martin Scharrer
Comment:

New hack NumberedHeadlinesPlugin, created by martin_s

Legend:

Unmodified
Added
Removed
Modified
  • NumberedHeadlinesPlugin

    v1 v1  
     1= Wiki syntax for numbered headlines =
     2
     3== Description ==
     4
     5This 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.
     6
     7== Bugs/Feature Requests ==
     8
     9Existing bugs and feature requests for NumberedHeadlinesPlugin are
     10[report:9?COMPONENT=NumberedHeadlinesPlugin here].
     11
     12If you have any issues, create a
     13[http://trac-hacks.org/newticket?component=NumberedHeadlinesPlugin&owner=martin_s new ticket].
     14
     15== Download ==
     16
     17Download the zipped source from [download:numberedheadlinesplugin here].
     18
     19== Source ==
     20
     21You can check out NumberedHeadlinesPlugin from [http://trac-hacks.org/svn/numberedheadlinesplugin here] using Subversion, or [source:numberedheadlinesplugin browse the source] with Trac.
     22
     23== Example ==
     24
     25The wiki syntax for numbered headlines is a follows:
     26{{{
     27Instead of:
     28== Unnumbered Headline ==
     29or
     30== Unnumbered Headline ==#ownID
     31
     32write:
     33## Numbered Headline ##
     34or
     35## Numbered Headline ##=ownID
     36}}}
     37
     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 `=<id name>`, which should be an valid XHTML name.
     39
     40{{{
     41= Introduction =
     42# Chapter 1 #
     43## Section 1.1 ##
     44### Subsection 1.1.1 ###
     45### Subsection 1.1.2 ###
     46## Section 1.2 ##
     47### Subsection 1.2.1 ###
     48### Subsection 1.2.2 ###
     49# Chapter 2 #
     50## Section 2.1 ##
     51### SubSubsection 2.1.1 ###
     52#### SubSubsection 2.1.1.1 ####
     53##### Paragraph 2.1.1.1.1 #####
     54###### Subparagraph 2.1.1.1.1 ######
     55}}}
     56
     57{{{
     58#!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>
     73}}}
     74
     75
     76
     77
     78
     79== Recent Changes ==
     80
     81[[ChangeLog(numberedheadlinesplugin, 3)]]
     82
     83== Author/Contributors ==
     84
     85'''Author:''' [wiki:martin_s] [[BR]]
     86'''Contributors:'''