mirror of
https://github.com/fmtlib/fmt.git
synced 2025-07-30 02:37:36 +02:00
Handle images in rst2md converter
This commit is contained in:
@ -103,6 +103,12 @@ class Translator(nodes.NodeVisitor):
|
|||||||
def depart_inline(self, node):
|
def depart_inline(self, node):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
def visit_image(self, node):
|
||||||
|
self.write('')
|
||||||
|
|
||||||
|
def depart_image(self, node):
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
class MDWriter(writers.Writer):
|
class MDWriter(writers.Writer):
|
||||||
"""GitHub-flavored markdown writer"""
|
"""GitHub-flavored markdown writer"""
|
||||||
|
Reference in New Issue
Block a user