'Test TOC with a Marker.'

def testMarker(self):

    text = u'[TOC]\n\n#    Header    1\n\n##    Header    2'
    self.assertEqual(self.md.convert(text), u'<div    class="toc">\n<ul>\n<li><a    href="#header-1">Header    1</a><ul>\n<li><a    href="#header-2">Header    2</a></li>\n</ul>\n</li>\n</ul>\n</div>\n<h1    id="header-1">Header    1</h1>\n<h2    id="header-2">Header    2</h2>')
