Home | History | Annotate | Download | only in markdown

Lines Matching refs:markdown

3 Python-Markdown Regression Tests
6 Tests of the various APIs with the python markdown lib.
13 import markdown
16 """ Tests basics of the Markdown class. """
19 """ Create instance of Markdown. """
20 self.md = markdown.Markdown()
39 self.parser = markdown.Markdown().parser
43 root = markdown.etree.Element("div")
46 self.assertEqual(markdown.etree.tostring(root), "<div><p>foo</p></div>")
52 self.assert_(isinstance(tree, markdown.etree.ElementTree))
53 self.assert_(markdown.etree.iselement(tree.getroot()))
54 self.assertEqual(markdown.etree.tostring(tree.getroot()),
62 self.state = markdown.blockparser.State()
96 """ Test Markdown's HtmlStash. """
99 self.stash = markdown.preprocessors.HtmlStash()
105 markdown.preprocessors.HTML_PLACEHOLDER % 0)
113 markdown.preprocessors.HTML_PLACEHOLDER % 1)
134 self.odict = markdown.odict.OrderedDict()
224 for filename in os.listdir('markdown/extensions'):
226 module = 'markdown.extensions.%s' % filename[:-3]