{% if cell.params.copy_button or cell.params.expand_button %}
{% if cell.params.copy_button %} {% endif %} {% if cell.params.expand_button %} {% endif %}
{% endif %} {# markdown=True: rendered_html is generated HTML (trusted). markdown=False: the docstring promises plain text, so it is escaped like any user data. #}
{% if cell.markdown %}{{ cell.rendered_html | safe }}{% else %}{{ cell.rendered_html }}{% endif %}
{% if cell.params.caption %}

{{ cell.params.caption }}

{% endif %}