示例#1
0
 def testHeading10(self):
   raw = 'Heading 10'
   self.assertEquals('###### Heading 10', markdown.md_heading(raw, level=10))
示例#2
0
 def testHeading5(self):
   raw = 'Heading 5'
   self.assertEquals('##### Heading 5', markdown.md_heading(raw, level=5))
示例#3
0
 def testHeading1(self):
   raw = 'Heading 1'
   self.assertEquals('# Heading 1', markdown.md_heading(raw, level=1))
 def testHeading10(self):
   raw = 'Heading 10'
   self.assertEquals('###### Heading 10', markdown.md_heading(raw, level=10))
 def testHeading5(self):
   raw = 'Heading 5'
   self.assertEquals('##### Heading 5', markdown.md_heading(raw, level=5))
 def testHeading1(self):
   raw = 'Heading 1'
   self.assertEquals('# Heading 1', markdown.md_heading(raw, level=1))