Linked Questions

3
votes
1answer
209 views

Code after bullet list isn't renedered correctly [duplicate]

Possible Duplicate: How to nest code within a list using markdown If there is a list immediately followed by a code block the code block is not recognized as code (Even though there is a ...
0
votes
1answer
118 views

Can't show xml code? [duplicate]

Possible Duplicate: How to nest code within a list using markdown I'm trying to put XML code in this answer, but it's not displaying at all. I tried using the code formatter and then ctrl ...
1
vote
1answer
224 views

How can I write nested code on a nested list with markdown? [duplicate]

I need to write a nested code block on a sub element of a list. My list look like 1. element 1 1. element 2 1. element 3, this has subelements 1. sub element 1 1. sub element 2 this one ...
3
votes
2answers
63 views

Code block display within an ordered list? [duplicate]

I was attempting to edit a post earlier, but couldn't get a code block to display within an ordered list. I've not found any reference to this directly and despite indenting and trying a few ...
2
votes
2answers
70 views

Code Block not showing up within a list [duplicate]

Possible Duplicates: How do I include a code block right after a list without it turning into a blockquote? How to nest code within a list using markdown I edited this question, but even ...
3
votes
1answer
101 views

Code immediately following a list does not format properly [duplicate]

Formatting breaks if code follows a list: List item List item This is in a code block This does not work as expected However, it works if between the list and the code List item List item ...
1
vote
0answers
204 views

How to post HTML in a Stackoverflow question [duplicate]

Possible Duplicates: How to nest code within a list using markdown Code blocks after a list, but not within a list in markdown. Is it possible? Before posting this question, I think I've ...
0
votes
1answer
65 views

Why can't I format my code in this answer? [duplicate]

Possible Duplicate: How to nest code within a list using markdown http://stackoverflow.com/a/13169659/57135 I know how to format code, but can't get it to work in this answer. Not sure ...
-4
votes
1answer
64 views

Single line code formatting after list not working [duplicate]

Possible Duplicate: How to nest code within a list using Markdown Markdown formatting bug with code blocks in lists In this answer the first line of code in the question is being ...
2
votes
0answers
56 views

Numbered list item 2 appears as 1 in my answer… what is causing it? [duplicate]

I have an answer on SO like this 1. step Some text 2. step Problem it looks like this step Some text step Why is it making 2 appear as 1? Link CSS two level menu - ...
0
votes
0answers
51 views

Code block can't handle DOCTYPE lines correctly [duplicate]

Possible Duplicate: Code block is not properly formatted when placed immediately after a list item How to nest code within a list using markdown Lines like <!DOCTYPE html PUBLIC ...
2
votes
0answers
42 views

Problem with code formatting in numbered lists [duplicate]

Possible Duplicate: How to nest code within a list using markdown Is there any way to use SO's numbered list implementation to render this answer? I played with this for quite a while and ...
307
votes
308answers
26k views

Formatting Sandbox

As per Jeff's suggestion in this comment: You can use this question as a formatting sandbox. You can edit this question itself (Community Wiki questions such as this one require 100 reputation ...
103
votes
6answers
4k views

Code block is not properly formatted when placed immediately after a list item

Consider the following piece of Markdown code: The is some regular text. >>> def factorial(n): ... return 1 if n < 2 else n * factorial(n - 1) ... * This is a list ...
37
votes
2answers
2k views

Code blocks after a list, but not within a list in markdown. Is it possible? [duplicate]

Possible Duplicate: Code block is not properly formatted when placed immediately after a list item In this post about nesting code-blocks in lists, it is explained that if you want to nest ...

15 30 50 per page