Here is an example of a code block that is processed correctly by markdown, but is not correctly scoped in TextMate.<span style="font-family: courier new,monospace;"><br><br>* level 1</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"></span><span style="font-family: courier new,monospace;"></span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> def test():
</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> pass</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
</span><span style="font-family: courier new,monospace;"></span><span style="font-family: courier new,monospace;"></span><br style="font-family: courier new,monospace;"><br clear="all">The def test() line should be scoped
markup.raw.block.markdown, but instead is meta.paragraph.list.markdown. According to Gruber: To put a code block within a list item, the code block needs
to be indented <em>twice</em> — 8 spaces or two tabs: The spec doesn't say, but if you put a code block inside a level 2 list then you have to indent your code 12<br><br>Brad<br><br>-- <br>Brad Miller<br>Assistant Professor, Computer Science
<br>Luther College