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 *))