[reposted ... last time, I accidentally press 'send' too soon!]

> I have a numbered list that looks like this:
> This list shows up like this:
> What can I do so item "three" will have the correct number label?

The problem is that both the numbered bullet and preformatted block
formats use 'line mode' syntax, in which the syntax always occurs on a
line by itself... that is, it *must* start following a newline (or at
the beginning of the tiddler), and always ends with a newline (or end
of tiddler) as well.

For numbered bullets in particular, successive line-mode bullets are
used to define a sequential 'number group'.  However, as soon as a
blank line or other non-bullet line mode syntax is encountered, the
current bullet group is ended, and any subsequent bullets following
the blank/non-bullet syntax will start a new number group, just as you
noted, i.e.,:

#foo
#bar
...preformatted content...
#baz

produces:

1 foo
2 bar
...preformatted content...
1 baz

Fortunately, there's a handy "CSS class wrapper" trick that works
around the problem: if you start a class block ***on the same line as
a bullet item***, then any content you put inside that block will be
treated as a continuation of that bullet item, so that the next bullet
item will still be considered part of the same number group, giving
the results you want.  Thus:

#mumble
#frotz{{block{
...preformatted content...
}}}
#gronk

results it:

1 mumble
2 frotz
...preformatted content...
3 gronk

enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to