diff --git a/src/nbsphinx.py b/src/nbsphinx.py index a80e9e98..03005e97 100644 --- a/src/nbsphinx.py +++ b/src/nbsphinx.py @@ -93,6 +93,13 @@ {% 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 -%}