Commit aa1e6b0f authored by Victor Zverovich's avatar Victor Zverovich

Handle images in rst2md converter

parent 26819461
......@@ -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"""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment