fereria
1/11/2020 - 4:48 PM

template_sample

{% extends 'markdown.tpl'%}

{% block header %}
{% endblock header %}

# Markdownは表示しない
{% block markdowncell%}
{% endblock markdowncell%}

{% block in_prompt %}
{% if cell.execution_count > 0%}
#### [{{ cell.execution_count if cell.execution_count else ' ' }}]:
{% endif %}
{% endblock in_prompt %}

{% block stream %}
!!! success
    ```
{{ super()}}
    ```
{% endblock stream %}

{% block execute_result%}
!!! success
    ```
{{ super()}}
    ```
{% endblock execute_result%}

{% block error %}
!!! error
{{ super() }}
{% endblock error %}