Tags:
create new tag
view all tags

Question

I wish to have a sublist in a list item, which is not the last piece of text in the item. Ie I want the final html to look something like:

 <ol>
  <li>
   Item 1
   <ul>
    <li>sublist item 1</li>
    <li>sublist item 2</li>
   </ul>
   Continue parent list item
  </li>
  <li>
   Item 2
  </li>
 </ol>

giving:

  1. Item 1
    • sublist item 1
    • sublist item 2
    Continue parent list item
  2. Item 2

Is this possible? I can only insert sub lists if they are the last thing in the parent.

Obviously I want to use TWiki markup rather than HTML, I was thinking something like:

   1. Item 1 
      * sublist item 1 
      * sublist item 2 
   Continue parent list item 
   1. Item 2 

But this results in 'Continue parent list item' being part of sublist item 2, even though it is prefixed by only 3 spaces not 6.

Environment

TWiki version: TWikiRelease04x01x02
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS:  
Web server:  
Perl version:  
Client OS:  
Web Browser:  
Categories: Missing functionality

-- StruanKerrLiddell - 09 Jun 2008

Short answer: TML does not support that. You need to use HTML if you want this.

-- PeterThoeny - 10 Jun 2008

Ok, Thanks very much.

-- StruanKerrLiddell - 10 Jun 2008

Change status to:
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2008-06-10 - StruanKerrLiddell
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.