Possible Duplicate:
Code blocks after a list, but not within a list in markdown. Is it possible?
First, this is not the same as discussed here because the use case is slightly different, I don't want the code to be shown as an item in the list.
- Anyway, this is the bug I just noticed.
As expected, the list works as it should.
But having a code block here with multiple lines, I might add doesn't behave as expected.
I know about the 8 spaces for indentation but this is not what I want to have.
But, if I add a single character right after the list wrapped with newlines before and after
- (As an example I'm using a comma here)
,
The code = Block("appears", "just") as expected;
#with ($colors && $everything)
- Also note that the numbering of the list keeps going from one to four while I'd expect it to go 1,2 - 1,2 - 1.
- In conclusion, seems like code block indented with four spaces isn't considered as a list terminator.