Python Forum
nested numbered lists
Thread Rating:
  • 1 Vote(s) - 2 Average
  • 1
  • 2
  • 3
  • 4
  • 5
nested numbered lists
#1
How to get nested numbered lists with bbcode?
Reply
#2
After get rid of WYSIWYG mode Hand ,the auto generated list won't work anymore.
Do it as show under,it start correct when click on numbered lists,then just copy [*] as many number wanted.
  1. Blue
  2. Red
  3. Green
Reply
#3
what I wanted was:
Output:
1. 2. 2.1 2.2 3.
Reply
#4
Can get nest together,and also use a bullet list to avoid number.
  1. Red
    • 2.1 Brown
    • 2.2 Green
      1. Orange
  • Black
But it's easier to show a tree structure using code tag.
I use this to eg show a folder/file path.
my_pack/
  |-- __init__.py 
  folder_a/
    |-- __init__.py
    |-- f1.py
  folder_b/
    |-- __init__.py
    |-- f2.py
Reply
#5
Thanks, I want numbered so that user can reference step numbers. And some of the steps are actually sub-steps
so this is perfect.
I have used the tree structure that you show either exactly or very similar for directory trees.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  numbered lists Skaperen 3 3,290 Mar-10-2017, 05:48 PM
Last Post: metulburr

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020