diff --git a/nbsphinx b/nbsphinx new file mode 160000 index 00000000..da0d0e09 --- /dev/null +++ b/nbsphinx @@ -0,0 +1 @@ +Subproject commit da0d0e09ff391b1ab23c9e01c39f958f631ba3c8 diff --git a/nbsphinx.py b/nbsphinx.py index 2e75a97e..9eb8f924 100644 --- a/nbsphinx.py +++ b/nbsphinx.py @@ -91,6 +91,12 @@ {% endif %} {%- endblock any_cell %} +{% block input_group -%} +{%- if cell.metadata.hide_input -%} +{%- else -%} +{{ super() }} +{%- endif -%} +{% endblock input_group %} {% block input -%} .. nbinput:: {% if cell.metadata.magics_language -%}