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