[dokuwiki] Re: How to number headlines ?

  • From: Serge Leblanc <serge.leblanc@xxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Thu, 06 Apr 2006 00:07:10 +0200

On mer, 2006-04-05 at 21:06 +0100, Chris Smith wrote:

> Hi,
> 
> I have a rough and ready plugin to do this.
> 
> It needs modifications to parts of the parser to work properly.
> (1) Changes to header / section handling.  I reckon they are 
> improvements over the current methods so I'll package them up in a patch 
> for Andi to look at.
> 
> (2) Modifications to block_handler.  These are more complex (refer other 
> note).  For now my rough and ready version will result in xhtml with one 
> unmatched </p> at the end of every set of xhtml prepared by the renderer.
> 
> For now, I have used ~~OH:<depth>|<pattern>~~ pattern syntax.
> 
> Anyways, feel free to take a look at it and extend it or do what you 
> like with it.
> ideas would be:
> - config settings via the config plugin
> - better pattern handling
> - Anika's ===== ## heading ===== syntax
> 
> Code can be seen at:
> http://wiki.jalakai.co.uk/dokuwiki/doku.php/tutorial/header
> 
> Test page is:
> http://wiki.jalakai.co.uk/dokuwiki/doku.php/test/header
> 


Thank you for this new functionality, and the urls are erroneous: 
http://wiki.jalakai.co.uk/dokuwiki/doku.php/tutorials/header
http://wiki.jalakai.co.uk/dokuwiki/doku.php/test/headers

Cordialy,
--
Serge Leblanc <serge.leblanc@xxxxxxxxxx> GnuPG id: 1024D/73791C2B
2002-09-30
Primary key fingerprint: 8E0C 0D6D E026 A278 9278 BF4F 1A93 D552 7379
1C2B

Other related posts: