##// END OF EJS Templates
Merge pull request #8301 from minrk/rm-qtconsole...
Merge pull request #8301 from minrk/rm-qtconsole remove qtconsole

File last commit:

r20906:1a805ad1
r21231:79730a28 merge
Show More
rst.tpl
86 lines | 1.8 KiB | application/vnd.groove-tool-template | SmartyLexer
Matthias BUSSONNIER
create rst converter and fix some bugs
r9642 {%- extends 'display_priority.tpl' -%}
Matthias BUSSONNIER
start rst converter
r9641
Matthew Brett
BF: fix nbconert rst input prompt spacing...
r12114 {% block in_prompt %}
Matthias BUSSONNIER
start rst converter
r9641 {% endblock in_prompt %}
damianavila
Redo of fixing templates structure.
r11770 {% block output_prompt %}
{% endblock output_prompt %}
Matthias BUSSONNIER
start rst converter
r9641
damianavila
Redo of fixing templates structure.
r11770 {% block input %}
MinRK
update nbconvert to nbformat 4
r18580 {%- if cell.source.strip() -%}
MinRK
minor adjustments to markdown / rst templates...
r12448 .. code:: python
MinRK
update nbconvert to nbformat 4
r18580 {{ cell.source | indent}}
Matthias Bussonnier
add blank lines in RST to separates blocks....
r20591 {% endif -%}
Matthias BUSSONNIER
create rst converter and fix some bugs
r9642 {% endblock input %}
Matthias BUSSONNIER
start rst converter
r9641
MinRK
update nbconvert to nbformat 4
r18580 {% block error %}
damianavila
Redo of fixing templates structure.
r11770 ::
MinRK
minor adjustments to markdown / rst templates...
r12448
Matthias BUSSONNIER
fix data priority rst
r9643 {{ super() }}
MinRK
update nbconvert to nbformat 4
r18580 {% endblock error %}
Matthias BUSSONNIER
start rst converter
r9641
{% block traceback_line %}
damianavila
Redo of fixing templates structure.
r11770 {{ line | indent | strip_ansi }}
{% endblock traceback_line %}
Matthias BUSSONNIER
start rst converter
r9641
MinRK
update nbconvert to nbformat 4
r18580 {% block execute_result %}
damianavila
Redo of fixing templates structure.
r11770 {% block data_priority scoped %}
{{ super() }}
{% endblock %}
MinRK
update nbconvert to nbformat 4
r18580 {% endblock execute_result %}
Matthias BUSSONNIER
start rst converter
r9641
{% block stream %}
.. parsed-literal::
damianavila
Redo of fixing templates structure.
r11770 {{ output.text | indent }}
Matthias BUSSONNIER
start rst converter
r9641 {% endblock stream %}
damianavila
Redo of fixing templates structure.
r11770 {% block data_svg %}
MinRK
move mime-bundle data to rich output.data...
r18589 .. image:: {{ output.metadata.filenames['image/svg+xml'] | urlencode }}
Matthias BUSSONNIER
create rst converter and fix some bugs
r9642 {% endblock data_svg %}
Matthias BUSSONNIER
start rst converter
r9641
damianavila
Redo of fixing templates structure.
r11770 {% block data_png %}
MinRK
move mime-bundle data to rich output.data...
r18589 .. image:: {{ output.metadata.filenames['image/png'] | urlencode }}
Matthias BUSSONNIER
create rst converter and fix some bugs
r9642 {% endblock data_png %}
damianavila
Redo of fixing templates structure.
r11770 {% block data_jpg %}
MinRK
move mime-bundle data to rich output.data...
r18589 .. image:: {{ output.metadata.filenames['image/jpeg'] | urlencode }}
Matthias BUSSONNIER
fix data priority rst
r9643 {% endblock data_jpg %}
damianavila
Redo of fixing templates structure.
r11770 {% block data_latex %}
.. math::
MinRK
minor adjustments to markdown / rst templates...
r12448
MinRK
move mime-bundle data to rich output.data...
r18589 {{ output.data['text/latex'] | strip_dollars | indent }}
Matthias BUSSONNIER
fix data priority rst
r9643 {% endblock data_latex %}
damianavila
Redo of fixing templates structure.
r11770 {% block data_text scoped %}
.. parsed-literal::
MinRK
minor adjustments to markdown / rst templates...
r12448
MinRK
move mime-bundle data to rich output.data...
r18589 {{ output.data['text/plain'] | indent }}
Matthias BUSSONNIER
create rst converter and fix some bugs
r9642 {% endblock data_text %}
MinRK
minor adjustments to markdown / rst templates...
r12448 {% block data_html scoped %}
.. raw:: html
MinRK
move mime-bundle data to rich output.data...
r18589 {{ output.data['text/html'] | indent }}
MinRK
minor adjustments to markdown / rst templates...
r12448 {% endblock data_html %}
damianavila
Redo of fixing templates structure.
r11770 {% block markdowncell scoped %}
{{ cell.source | markdown2rst }}
Matthias BUSSONNIER
start rst converter
r9641 {% endblock markdowncell %}
Matthias Bussonnier
add blank lines in RST to separates blocks....
r20591 {%- block rawcell scoped -%}
{%- if cell.metadata.get('raw_mimetype', '').lower() in resources.get('raw_mimetypes', ['']) %}
{{cell.source}}
{% endif -%}
{%- endblock rawcell -%}
Matthias BUSSONNIER
start rst converter
r9641 {% block headingcell scoped %}
MinRK
use markdown for rst headings...
r11317 {{ ("#" * cell.level + cell.source) | replace('\n', ' ') | markdown2rst }}
Matthias BUSSONNIER
start rst converter
r9641 {% endblock headingcell %}
{% block unknowncell scoped %}
unknown type {{cell.type}}
Matthew Brett
BF: fix nbconert rst input prompt spacing...
r12114 {% endblock unknowncell %}