Resume numbering for ordered lists?

87 views
Skip to first unread message

David Gifford

unread,
May 26, 2021, 9:51:40 PM5/26/21
to TiddlyWiki

Hi everyone,

I have an ordered list in a tiddler

#
#
#

Then I have an image or table or whatever which I want to display the width of the tiddler.

Then I resume my ordered list

#
#

But the list starts at 1 again, rather than at 4.

Word has a feature to resume numbering from the previous list. Is there any tool for doing something similar in TiddlyWiki?

Eric Shulman

unread,
May 26, 2021, 10:06:05 PM5/26/21
to TiddlyWiki
On Wednesday, May 26, 2021 at 6:51:40 PM UTC-7 David Gifford wrote:
I have an ordered list in a tiddler
Then I have an image or table or whatever which I want to display the width of the tiddler.
Then I resume my ordered list
But the list starts at 1 again, rather than at 4.

Way back in the TWClassic days, I "discovered" that if you start a <div> at the end of a numbered bullet item you can put any content you like (e.g., tables, images, etc.) following it, and then end with a closing </div> followed by another numbered bullet item on the next line, and it will continue the numbering.  This method still works in TW5, and is actually documented at the very end of https://tiddlywiki.com/#Lists%20in%20WikiText.

For example:
# foo
# bar
# baz<div>

| table | cells  |
| argle | bargle |
<$image source="Motovun Jack.jpg" width="100%" />
</div>
# mumble
# frotz

enjoy,
-e

David Gifford

unread,
May 26, 2021, 10:08:09 PM5/26/21
to tiddl...@googlegroups.com
Thank you Eric! Wile E. Coyote, Super Genius!




--
You received this message because you are subscribed to a topic in the Google Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tiddlywiki/RcbgGWsRCX4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tiddlywiki+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/b4fd496c-98a5-4ff5-a8d5-6a08ef4d35e3n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages