10

I tried this

1. Bullet one.
1.1. Bullet one. one.
1.2. Bullet one. two.
2. Bullet two

And that doesn't work.

I'm not sure if it's been documented here and here :-/

How to format a sub list with Markdown on Tumblr?

9

I don't use Tumblr myself, but on all other markdown-using sites that I'm familiar with (StackExchance included), the syntax

1. Bullet one.
 1. Bullet one. one.
 2. Bullet one. two.
2. Bullet two

gives the result you're looking for as far as generating correct HTML is concerned:

  1. Bullet one.
    1. Bullet one. one.
    2. Bullet one. two.
  2. Bullet two

The appearance of the list once you've defined it as being one is outside the scope of Markdown. That's controlled by editing your CSS. (Assuming you CAN edit your Tumblr theme. Again, I've never used it.)

If you want the 1.1. format for nested lists, there are instructions for suitably standards-compliant browsers on this StackOverflow answer. (Which basically means no IE6 or IE7 and the workaround for them either requires ditching Markdown or writing some Javascript for your template)

  • ssokolow Thanks, man! That's working! – Arie Sep 19 '11 at 9:38
2

For unordered lists:

- an entry
- another entry
 - some sub entry without leading bullet
- - some sub entry with leading bullet
 - another entry for another entry
 - - blablabla
 - - blublublu
 - - - dfdf
- - - - also some way 

Result:

  • an entry
  • another entry
    • some sub entry without leading bullet
    • some sub entry with leading bullet
    • another entry for another entry
      • blablabla
      • blublublu
        • dfdf
        • also some way

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.