def METHOD_NAME(self):
    self.assertMarkdownRenders(
        self.dedent(
            """
            [![img ref]](http://example.com/)
            [img ref]: ./image.jpg
            """
        ),
        '<p><a href="http://example.com/"><img alt="img ref" src="./image.jpg" /></a></p>'
    )