##// 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 'citation2latex': filters.citation2latex,
61 'citation2latex': filters.citation2latex,
62 'path2url': filters.path2url,
62 'path2url': filters.path2url,
63 'add_prompts': filters.add_prompts,
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 ((* elif cell.level == 6 -*))
202 ((* elif cell.level == 6 -*))
203 ((* block h6 -*))\\*\textit((* endblock h6 -*))
203 ((* block h6 -*))\\*\textit((* endblock h6 -*))
204 ((*- endif -*))
204 ((*- endif -*))
205 {((( cell.source | replace('\n', ' ') | citation2latex | markdown2latex )))}
205 {((( cell.source | replace('\n', ' ') | citation2latex | strip_url_static_file_prefix | markdown2latex )))}
206
206
207 ((* endblock headingcell *))
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 % Render markdown
216 % Render markdown
217 ((* block markdowncell scoped *))
217 ((* block markdowncell scoped *))
218 ((( cell.source | citation2latex | markdown2latex )))
218 ((( cell.source | citation2latex | strip_url_static_file_prefix | markdown2latex )))
219 ((* endblock markdowncell *))
219 ((* endblock markdowncell *))
220
220
221 % Spit out the contents of raw cells unmodified
221 % Spit out the contents of raw cells unmodified
General Comments 0
You need to be logged in to leave comments. Login now