Re: [podwiki] Re: Unifying output of POD and other markup methods
Brought to you by:
zarahg
From: Thomas L. <to...@co...> - 2004-06-04 23:34:11
|
On Fri, Jun 04, 2004 at 10:11:32PM +0000, Charles Goodwin wrote: > On Fri, 2004-06-04 at 22:53 +0200, Thomas Linden wrote: > > The only issue with this is that how do you differentiate between h1, > h2, h3 and how do you use H2s with spaces inbetween? h1, h2, .. are differentiated using =head1, =head2, .. POD commands. And I don't see any problems with witespaces: P<Page?Section Foo>. > What might be more useful would be an additional syntax for defining > sections, which could be nestable. I tend to use existing commands, whereever possible, in this case I would write: =head1 Section FOO appears in FOO only =head2 Section BAR appears in FOO and BAR =cut Summary: one section starts with an =head<1-4> command and ends at the next =head command of the same level (e.g. =head1 til the next =head1) or at document end (=cut). I don't know if =end is also usable as "section-end" command, because the =end command already exists and requires an =begin command somewhere above. - Tom -- Thomas Linden (http://www.daemon.de/) tom at co dot daemon dot de $_=`perl -v`;s;^.*ll;;s;$^=unpack"u", "'8V]D;')E<```";s;\W;;gs;$/=7* ($^=~s;.;;g);%^=map{$_=>1}split//,lc;$_=join$\, (sort keys(%^))[map{ ord($_)-$/}split//,'1I7E13?@E:7C1A7C=1:35<7C'];s"0(.)" \U$1"g;print; |