What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 133 Stack Exchange communities.

This question already has an answer here:

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?

share|improve this question

marked as duplicate by hims056, Bo Persson, Toon Krijthe, Bart, Martijn Pieters Mar 8 '13 at 10:49

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

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

1 Answer 1

up vote 2 down vote accepted

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

share|improve this answer

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