Skip to content

Commit

Permalink
added option to hide code input but still show output (see @gpagliuca
Browse files Browse the repository at this point in the history
  • Loading branch information
brbarkley committed Jan 8, 2019
1 parent 11a6e4d commit 98a44b1
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/nbsphinx.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,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 -%}
Expand Down

0 comments on commit 98a44b1

Please sign in to comment.