From 145e13fcff7bc013bdfdbcccfaa4d25e44b87c60 Mon Sep 17 00:00:00 2001 From: Pekka Helenius Date: Fri, 12 Mar 2021 03:53:55 +0200 Subject: [PATCH] Add Jupyter conversion template --- code/hidecode.tplx | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 code/hidecode.tplx diff --git a/code/hidecode.tplx b/code/hidecode.tplx new file mode 100644 index 0000000..bb3b946 --- /dev/null +++ b/code/hidecode.tplx @@ -0,0 +1,7 @@ + ((*- extends 'article.tplx' -*)) + +((* block input_group *)) + ((*- if cell.metadata.get('nbconvert', {}).get('show_code', False) -*)) + ((( super() ))) + ((*- endif -*)) +((* endblock input_group *))