##// END OF EJS Templates
Merge pull request #5395 from ivanov/5350...
Brian E. Granger -
r15892:c29e16fb merge
parent child Browse files
Show More
@@ -103,7 +103,7 b" def markdown2html_marked(source, encoding='utf-8'):"
103 return out.rstrip('\n')
103 return out.rstrip('\n')
104
104
105 def markdown2rst(source):
105 def markdown2rst(source):
106 """Convert a markdown string to LaTeX via pandoc.
106 """Convert a markdown string to ReST via pandoc.
107
107
108 This function will raise an error if pandoc is not installed.
108 This function will raise an error if pandoc is not installed.
109 Any error messages generated by pandoc are printed to stderr.
109 Any error messages generated by pandoc are printed to stderr.
@@ -38,15 +38,15 b''
38 {% endblock stream %}
38 {% endblock stream %}
39
39
40 {% block data_svg %}
40 {% block data_svg %}
41 .. image:: {{ output.svg_filename }}
41 .. image:: {{ output.svg_filename|urlencode }}
42 {% endblock data_svg %}
42 {% endblock data_svg %}
43
43
44 {% block data_png %}
44 {% block data_png %}
45 .. image:: {{ output.png_filename }}
45 .. image:: {{ output.png_filename|urlencode }}
46 {% endblock data_png %}
46 {% endblock data_png %}
47
47
48 {% block data_jpg %}
48 {% block data_jpg %}
49 .. image:: {{ output.jpeg_filename }}
49 .. image:: {{ output.jpeg_filename|urlencode }}
50 {% endblock data_jpg %}
50 {% endblock data_jpg %}
51
51
52 {% block data_latex %}
52 {% block data_latex %}
General Comments 0
You need to be logged in to leave comments. Login now