On Fri, Aug 03, 2007 at 05:14:25AM -0700, Paul Grinberg wrote:
For example, numbered lists are a perfect solution for
procedure
documentation. However, oftentimes it is necessary to insert a <pre>,
<div>, or even wiki-syntax table between two consecutive steps. In the
current wiki implementation, Parser.php restarts the numbered list back
at #1 after such an interjection. Am I missing something? Is there a
mechanism to embed these (and possible other) non-numbered list items
in a numbered list?
If there currently isn't a way to do so, then I'd like to see if there
is currently any effort to hack/redesign the Parser to accept some new
syntax (backwards compatible, of course) to allow for starting a
numbered list at any user defined value? And if there isn't such an
effort already, then I'd like to give it a try myself (I've looked at
the code already and have a pretty good idea on how to do it).
My personal recommendation, if anyone's planning to hack on the parser,
would be magic words:
__MANUALNUMBER__
and
__RESETNUMBER__
What those ought to do should be obvious, I hope. :-) Is it necessary
to more finely granularize the RESET command? Should numbered lists be
a full-fledged feature?
Cheers,
-- jra
--
Jay R. Ashworth Baylink jra(a)baylink.com
Designer The Things I Think RFC 2100
Ashworth & Associates
http://baylink.pitas.com '87 e24
St Petersburg FL USA
http://photo.imageinc.us +1 727 647 1274