5

The code block in this question's answer by Bruce doesn't seem to want to be working.

This is the result (even after highlighting the text and explicitly clicking the code block button.

Faulty Code Blocks

  • I did go ahead and submit the edit, as it had some other things that needed to be changed as well. – Qix Feb 7 '13 at 6:04
  • Also, this is a duplicate of this, even though the linked thread isn't marked as such. Didn't find it when searching.. – Qix Feb 7 '13 at 7:15
11

You need to indent by an additional four spaces for code blocks to be considered so under list item.

enter image description here


enter image description here

  • A single indendation level just makes the block part of the preceding list item. If it were a numbered list, Sathya's screenshot would show two "1." items, as the first block breaks the list (due to missing indentation). Indenting it once would fix that: Broken list, Fixed list. – Daniel Beck Feb 7 '13 at 7:00
  • I fixed the first one just using normal backquotes; that's why it is how it is. Thanks for the answer, @Sathya! – Qix Feb 7 '13 at 7:06

You must log in to answer this question.

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