Exemplo n.º 1
0
 def test_image_number_reference(self):
     markdown_before = "![Caption][5]"
     markdown_after = "![Caption][5]\n[5]: /files/get/5"
     self.assertEquals(markdown_after, extend_markdown(markdown_before))
Exemplo n.º 2
0
 def test_image_number_reference(self):
     markdown_before = "![Caption][5]"
     markdown_after = "![Caption][5]\n[5]: /files/get/5"
     self.assertEquals(markdown_after, extend_markdown(markdown_before))
Exemplo n.º 3
0
 def test_image_number_existing_reference(self):
     markdown = "![Caption][5]\n[5]: /files/get/5"
     self.assertEquals(markdown, extend_markdown(markdown))
     
Exemplo n.º 4
0
 def test_image_number_existing_reference(self):
     markdown = "![Caption][5]\n[5]: /files/get/5"
     self.assertEquals(markdown, extend_markdown(markdown))