Handle images in rst2md converter

This commit is contained in:
Victor Zverovich 2016-06-22 06:28:51 -07:00
parent 26819461bd
commit aa1e6b0f75

View File

@ -103,6 +103,12 @@ class Translator(nodes.NodeVisitor):
def depart_inline(self, node):
pass
def visit_image(self, node):
self.write('![](' + node['uri'] + ')')
def depart_image(self, node):
pass
class MDWriter(writers.Writer):
"""GitHub-flavored markdown writer"""