summaryrefslogtreecommitdiff
path: root/ma/resources/nbexport.tplx
diff options
context:
space:
mode:
Diffstat (limited to 'ma/resources/nbexport.tplx')
-rw-r--r--ma/resources/nbexport.tplx14
1 files changed, 13 insertions, 1 deletions
diff --git a/ma/resources/nbexport.tplx b/ma/resources/nbexport.tplx
index a279827..f3f47bc 100644
--- a/ma/resources/nbexport.tplx
+++ b/ma/resources/nbexport.tplx
@@ -9,5 +9,17 @@
((*- endblock header -*))
-((* block maketitle *))\vspace*{3cm}((* endblock maketitle *))
+((* block maketitle *))\vspace*{1cm}((* endblock maketitle *))
+
+((* block stream *))
+ ((*- if output.name != 'stderr' -*))
+ ((( super() )))
+ ((*- endif -*))
+((* endblock stream *))
+
+((* block data_text *))
+ ((*- if 'application/vnd.jupyter.widget-view+json' not in output.data -*))
+ ((( super() )))
+ ((*- endif -*))
+((* endblock data_text *))