datitran/jupyter2slides

Add hide code to template

kuchaale opened this issue · 0 comments

Is there a possibility how to hide code, i.e. IFrame calling here. When I export my notebooks to html (jupyter nbconvert --to html). I use --template hidecode.tpl (see below). Would it be possible to add this functionality as well? Thx

{%- extends 'full.tpl' -%} {% block input_group %} {% if cell['metadata'].get('slideshow',{}).get('slide_type','') =='Notes' -%} {{ super() }} {% endif %} {%- endblock input_group %}