[pmwiki-users] Re: Re: <div> markup suggestions...?

John Rankin john.rankin at affinity.co.nz
Thu Mar 3 15:43:16 CST 2005


On Friday, 4 March 2005 9:10 AM, Jonathan Scott Duff <duff at pobox.com> wrote:
>Sure ...  If you say that the ==== must appear on a line by itself or
>with only a style, that shouldn't conflict with other-wiki heading
>syntax.  I.e.  only lines that match /^====(%.*?%)$/ start a division or
>alternatively only lines that match /^====\s*\w+/ are headings.

At the risk of gratuitous featurism, 

===%#jr%Hello world

What a day for a daydream

===

might even act as a 'titled section', which I think is in xhtml2. 
In the mean time, it would produce

<div id='jr'><h3>Hello world</h3>

What a day for a daydream

</div><a href='...#jr'>Edit section</a>

But this would imply divs can nest, which is excluded from scope.

I tend to use a single equals sign, following the pmwiki 1 convention,
eg

=>right
=|centre
=figure (a figure and its caption)

But I see merit in using the = to mark divs, and I'd love an 
Edit Section link
 
-- 
JR
--
John Rankin






More information about the pmwiki-users mailing list