##// END OF EJS Templates
Add strip_url_static_file to base sphinx template and templateexporter.py
Peter Davis -
Show More
@@ -61,6 +61,7 b' default_filters = {'
61 61 'citation2latex': filters.citation2latex,
62 62 'path2url': filters.path2url,
63 63 'add_prompts': filters.add_prompts,
64 'strip_url_static_file_prefix': filters.strip_url_static_file_prefix,
64 65 }
65 66
66 67 #-----------------------------------------------------------------------------
@@ -202,7 +202,7 b' This template does not define a docclass, the inheriting class must define this.'
202 202 ((* elif cell.level == 6 -*))
203 203 ((* block h6 -*))\\*\textit((* endblock h6 -*))
204 204 ((*- endif -*))
205 {((( cell.source | replace('\n', ' ') | citation2latex | markdown2latex )))}
205 {((( cell.source | replace('\n', ' ') | citation2latex | strip_url_static_file_prefix | markdown2latex )))}
206 206
207 207 ((* endblock headingcell *))
208 208
@@ -215,7 +215,7 b' This template does not define a docclass, the inheriting class must define this.'
215 215
216 216 % Render markdown
217 217 ((* block markdowncell scoped *))
218 ((( cell.source | citation2latex | markdown2latex )))
218 ((( cell.source | citation2latex | strip_url_static_file_prefix | markdown2latex )))
219 219 ((* endblock markdowncell *))
220 220
221 221 % Spit out the contents of raw cells unmodified
General Comments 0
You need to be logged in to leave comments. Login now