Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-01-11 15:47:13

marios
Archived Plugin Author
Registered: 2005-03-12
Posts: 1,253

[textile] nested ordered and unordered lists

Hakjoon has explained it to me before, but I forgot, since I don’t use Textile on a regular basis.

How do I do nested ol and ul ?

( couldn’t find my own post anymore )

regards, marios

Last edited by marios (2007-01-11 15:48:42)


⌃ ⇧ < ⌃ ⇧ >

Offline

#2 2007-01-11 16:16:22

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

Re: [textile] nested ordered and unordered lists

Hi marios,

it is:

  • fruits
    • apple
    • orange
    • coconut
  • vegetals
    • potato
    • etc
    • etc
    1. this is
      1. a
        1. nested
          1. ordered
            1. list

The same for ordered lists.

Click in “Quote” to see how I did it because I can’t remember how to post textile code! jijijijij…

Last edited by maniqui (2007-01-11 16:18:25)


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#3 2007-01-11 16:57:06

marios
Archived Plugin Author
Registered: 2005-03-12
Posts: 1,253

Re: [textile] nested ordered and unordered lists

So easy and dandy. ( I did that syntax before, probably unconciously, but forgot some spaces somewhere )
Once you have this in your blood a little it is pretty much convenient.
Hash and star near by, if you just stretch your second fingers forward.

thanks, marios


⌃ ⇧ < ⌃ ⇧ >

Offline

#4 2007-01-11 20:33:58

jm
Plugin Author
From: Missoula, MT
Registered: 2005-11-27
Posts: 1,746
Website

Re: [textile] nested ordered and unordered lists

Two problems:

  1. ol needs to be wrapped in an li to be valid
  2. Can’t go back to an unordered list. EX:

example:

  • blah

    1. blah
      1. blah
    2. this one should be unordered


Textile:

* blah
# blah
## blah
* this one should be unordered

I submitted a bug report too.

Last edited by jm (2007-01-11 20:35:09)

Offline

Board footer

Powered by FluxBB