4

Possible Duplicate:
Can the code button in the format bar be made to work for code blocks in numbered lists

Is it possible to have an automatic formatting of a code snippet inside a list? E.g., If I want something like this:

  • Some words

    some code
    some more code
    

The standard Ctrl+K shifts right 4 spaces only and it's not enough if inside a list. So I had to manually shift the block another 4 spaces. Is it possible to auto-detect being inside list and making an appropriate 8-place shift?

marked as duplicate by Tim Stone, Toon Krijthe, hims056, Bo Persson, Rory Dec 14 '12 at 13:23

This question was marked as an exact duplicate of an existing question.

  • The title here is somewhat misleading, since you're aware of how exactly to Markdown a code snippet within a list, but you're really referring to the post editor not knowing. – BoltClock's a Unicorn Dec 14 '12 at 7:34
  • @BoltClock'saUnicorn I've edited, hope it's more verbose now – SomeWittyUsername Dec 14 '12 at 7:35

Browse other questions tagged .