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 Dec 11, 2018
1 parent 68b709e commit e8817a4
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 @@ -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 -%}
Expand Down

0 comments on commit e8817a4

Please sign in to comment.