At work I got this request: It would be nice to be able to use
<verbatim> tags in bullet lists, especially in a numbered list. Currently the numberings starts with 1 after a verbatim block.
Expected behaviour:
| Write this: | To get this: |
1. One
1. Two
<verbatim>
some verbatim text
<verbatim>
Two continues
1. Three
1. Four
|
- One
- Two
some verbatim text Two continues
- Three
- Four
|
--
PeterThoeny - 12 Feb 2002
I
second this. I need to do this a lot, and must resort to tables.
--
MartyBacke - 26 Mar 2002
+1. (That's a voting convention used some places, like the abiword-dev list.)
If somebody tackles this, please consider extending the scope of a list in similar fashion to allow blank lines or <blockquotes> between list elements -- I sometimes prefer vertical whitespace between elements of a list, especially if an element is a long paragraph. Also, I sometimes use <blockquote> tags to insert indented but non-numbered (or non-bulleted) paragraphs between elements of a list, sometimes even nested <blockquote> tags as each set of nested <blockquote> tags increases the indent.
Maybe we should consider a syntax where a list element is always considered a continuation of a previous list unless a list item is specifically identified as an element of a new list using some new TWiki markup.
(I haven't tried to think that or the following through.)
Or maybe a list should continue until:
- An item is under a new heading (---+++ blah blah or <h?>blah blah<h?>)
- ???
In any event, I think we specifically need to allow nested lists, like a bulleted list within a numbered list or vice versa.
Sorry, doesn't sound like I'm trying to KISS -- just food for thought.
--
RandyKramer - 27 Mar 2002
for what concerns whitespaces in lists, have a look at
RicherSyntaxPlugin.
--
FrancoBagnoli - 27 Mar 2002
I've done a simple partial implementation of this, limited by nature of TWiki and
HTML. I also took the opportunity to make the code more forgiving of missing end of verbatim.
--
JohnTalintyre - 27 Mar 2002