2

I´m not able to format the block with some C# code in this question as code.

Is it cause there is a BulletList before the code block?

3
  • Add four more spaces. Total 8 spaces. I just edited the question.
    – Himanshu
    Commented Mar 8, 2013 at 7:56
  • @hims056 okay, that was easy. I used the buttons of the editor and it seems not to work.
    – Jehof
    Commented Mar 8, 2013 at 7:58
  • Yeh we have to add additional four spaces manually in bullets.
    – Himanshu
    Commented Mar 8, 2013 at 7:59

1 Answer 1

2

Yes, when formatting code inside of a list, appen 4 more spaces (8 in total) to the code block. Example:

Normal Code Block
  • Normal List item

    Paragraph in list item

    Code in List item
    

This was written:

    Normal Code Block

  - Normal List item

    Paragraph in list item

        Code in List item

For more information, see the Formatting Help

Not the answer you're looking for? Browse other questions tagged .