##// END OF EJS Templates
change default behavior of database task storage...
change default behavior of database task storage The previous default behavior was to create a new table (sqlite) / database (mongodb) for each Hub instance, so that task history would not be shared by subsequent IPython sessions. I don't think this was the right choice, so this PR switches the default behavior to use the table / database `ipython-tasks`. The result is that all Hub sessions in a given profile will share history by default, which makes the benefit of the db backends clearer. Configurable behavior remains the same, only the default is changed.

File last commit:

r11770:6b8a9d57
r12255:8683a413
Show More
markdown.tpl
73 lines | 1.4 KiB | application/vnd.groove-tool-template | SmartyLexer
Matthias BUSSONNIER
do a markdown converter
r9701 {% extends 'display_priority.tpl' %}
damianavila
Redo of fixing templates structure.
r11770
Matthias BUSSONNIER
do a markdown converter
r9701 {% block in_prompt %}
damianavila
Redo of fixing templates structure.
r11770 In[{{ cell.prompt_number if cell.prompt_number else ' ' }}]:
{% endblock in_prompt %}
Matthias BUSSONNIER
do a markdown converter
r9701
damianavila
Redo of fixing templates structure.
r11770 {% block output_prompt %}
{% if cell.haspyout %}
Out[{{ cell.prompt_number }}]:
{%- endif %}
{%- endblock output_prompt %}
Matthias BUSSONNIER
do a markdown converter
r9701
{% block input %}
```
damianavila
Redo of fixing templates structure.
r11770 {{ cell.input }}
Matthias BUSSONNIER
do a markdown converter
r9701 ```
{% endblock input %}
{% block pyerr %}
{{ super() }}
{% endblock pyerr %}
{% block traceback_line %}
damianavila
Redo of fixing templates structure.
r11770 {{ line | indent | strip_ansi }}
{% endblock traceback_line %}
Matthias BUSSONNIER
do a markdown converter
r9701
{% block pyout %}
damianavila
Redo of fixing templates structure.
r11770 {% block data_priority scoped %}
{{ super() }}
{% endblock %}
Matthias BUSSONNIER
do a markdown converter
r9701 {% endblock pyout %}
{% block stream %}
damianavila
Redo of fixing templates structure.
r11770 {{ output.text | indent }}
Matthias BUSSONNIER
do a markdown converter
r9701 {% endblock stream %}
{% block data_svg %}
damianavila
Redo of fixing templates structure.
r11770 [!image]({{ output.svg_filename }})
Matthias BUSSONNIER
do a markdown converter
r9701 {% endblock data_svg %}
{% block data_png %}
damianavila
Redo of fixing templates structure.
r11770 [!image]({{ output.png_filename }})
Matthias BUSSONNIER
do a markdown converter
r9701 {% endblock data_png %}
{% block data_jpg %}
damianavila
Redo of fixing templates structure.
r11770 [!image]({{ output.jpg_filename }})
Matthias BUSSONNIER
do a markdown converter
r9701 {% endblock data_jpg %}
{% block data_latex %}
$$
damianavila
Redo of fixing templates structure.
r11770 {{ output.latex }}
Matthias BUSSONNIER
do a markdown converter
r9701 $$
{% endblock data_latex %}
{% block data_text scoped %}
damianavila
Redo of fixing templates structure.
r11770 {{ output.text | indent }}
Matthias BUSSONNIER
do a markdown converter
r9701 {% endblock data_text %}
{% block markdowncell scoped %}
damianavila
Redo of fixing templates structure.
r11770 {{ cell.source | wrap_text(80) }}
Matthias BUSSONNIER
do a markdown converter
r9701 {% endblock markdowncell %}
{% block headingcell scoped %}
MinRK
enforce single-line heading cells in templates
r11303 {{ '#' * cell.level }} {{ cell.source | replace('\n', ' ') }}
Matthias BUSSONNIER
do a markdown converter
r9701 {% endblock headingcell %}
damianavila
Redo of fixing templates structure.
r11770 {% block rawcell scoped %}
{{ cell.source }}
Matthias BUSSONNIER
do a markdown converter
r9701 {% endblock rawcell %}
{% block unknowncell scoped %}
damianavila
Redo of fixing templates structure.
r11770 unknown type {{ cell.type }}
{% endblock unknowncell %}