We relaunched the TWiki.org project with an expanded TWiki charter, and we invite you to participate! The TWiki.org Code of Conduct agreement took effect on 27 Oct 2008. We ask existing twiki.org users to opt-in. You need to opt-in to participate in the Blog, Codev, Plugins and TWiki webs. -- PeterThoeny - 27 Oct 2008
Tags:
create new tag
, view all tags

Question

I want to format a list like this:
Body text leading up to list.
   * first item
   * second item with wrapping text
     here leading up to another list
      * here and
      * there and
      * everywhere
     !!!and then some more text at the outer list indent level.
     So that it ties in with the second item nicely.
   * third item here

more body text.

The problem is that rendered the above gives me:

Body text leading up to list.
   * first item
   * second item with wrapping text
     here leading up to another list
      * here and
      * there and
      * everywhere !!!and then some more text (not) at the outer list
        indent level. So that it ties in with the second item nicely.
   * third item here

more body text.

Or if I insert a <p /> before the !!!, I get:

Body text leading up to list.
   * first item
   * second item with wrapping text
     here leading up to another list
      * here and
      * there and
      * everywhere 
        !!!and then some more text (not) at the outer list
        indent level. So that it ties in with the second item nicely.
   * third item here

more body text.

Inserting a blank lines at the !! results in:

Body text leading up to list.
   * first item
   * second item with wrapping text
     here leading up to another list
      * here and
      * there and
      * everywhere 

!!!and then some more text (not) at the outer list
indent level. So that it ties in with the second item nicely.
   * third item here

more body text.

I have also tried indenting the !!! text exactly 3 spaces but it doesn't help.

Other than resorting to html (yech), does anybody know how to acomplish this nested list in the middle of a list element?

If it can't be accomplished maybe a new glyph introducer can be added say [space][space][space]o[space] to have the indenture without the marker?

.

  • TWiki version: 2001Dec01
  • Web server: apache w/ modperl
  • Server OS: linux
  • Web browser: any
  • Client OS: any

-- JohnRouillard - 17 Dec 2001

Answer

The closest I've managed to come is by using <blockquote> tags, see below. Unfortunately, they:

  • create blank lines before and after the paragraph
  • work only for indent level 1 (although I have a vague recollection of doing something better once -- ahh, OK, you can nest the blockquotes -- see #Second_Example))

It would be nice to have wiki markup to serve this purpose for any level of indentation, without creating the blank lines. (Aside: Note that control of vertical whitespace in HTML is difficult, especially because Konqueror (in all the versions I've tried) handles things significantly different than, for example, IE. See BrowserFormattingIssues.)

First Example

Body text leading up to list.
  • first item
  • second item with wrapping text here leading up to another list
    • here and
    • there and
    • everywhere
!!!and then some more text (not) at the outer list indent level. So that it ties in with the second item nicely.
  • third item here
more body text.

Second example

Body text leading up to list.
  • first item
  • second item with wrapping text here leading up to another list
    • here and
    • there and
    • everywhere
!!!and then some more text (not) at the outer list indent level. So that it ties in with the second item nicely.
  • third item here
more body text.

-- RandyKramer - 18 Dec 2001

Topic revision: r3 - 21 May 2002 - 07:00:57 - TWikiAdmin
 
TWIKI.NET
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback