h* tag conversion
This commit is contained in:
4
tests.py
4
tests.py
@@ -25,5 +25,9 @@ class ConversionTests(unittest.TestCase):
|
||||
def test_h2(self):
|
||||
self.assertEqual(md('<h2>Hello</h2>'), 'Hello\n-----\n\n')
|
||||
|
||||
def test_hn(self):
|
||||
self.assertEqual(md('<h3>Hello</h3>'), '### Hello\n\n')
|
||||
self.assertEqual(md('<h6>Hello</h6>'), '###### Hello\n\n')
|
||||
|
||||
def test_i(self):
|
||||
self.assertEqual(md('<i>Hello</i>'), '_Hello_')
|
||||
|
||||
Reference in New Issue
Block a user