Last active
December 20, 2019 19:07
-
-
Save xoelop/9cd6e261fbbfc94a679c209336e2e160 to your computer and use it in GitHub Desktop.
Jupyter nbconvert template to create reports where cells marked as skip (for slideshows) are hidden in the report.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{%- extends 'full.tpl' -%} | |
{%- block header -%} | |
{{ super() }} | |
<meta name='robots' content='noindex,nofollow' /> | |
{%- endblock header -%} | |
{% block any_cell %} | |
{%- if cell.metadata.get('slideshow', {}).get('slide_type', '') == 'skip' -%} | |
{%- else -%} | |
{{ super() }} | |
{%- endif -%} | |
{% endblock any_cell %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment