Uploaded Test files
This commit is contained in:
parent
f584ad9d97
commit
2e81cb7d99
16627 changed files with 2065359 additions and 102444 deletions
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"base_template": "base",
|
||||
"mimetypes": {
|
||||
"text/asciidoc": true
|
||||
}
|
||||
}
|
|
@ -0,0 +1,90 @@
|
|||
{% extends 'display_priority.j2' %}
|
||||
|
||||
|
||||
{% block input %}
|
||||
{% if resources.global_content_filter.include_input_prompt %}
|
||||
{% if cell.execution_count is defined -%}
|
||||
+*In[{{ cell.execution_count|replace(None, " ") }}]:*+
|
||||
{% else %}
|
||||
+*In[]:*+
|
||||
{%- endif -%}
|
||||
{%- endif -%}
|
||||
[source
|
||||
{%- if 'magics_language' in cell.metadata -%}
|
||||
, {{ cell.metadata.magics_language}}
|
||||
{%- elif 'pygments_lexer' in nb.metadata.get('language_info', {}) -%}
|
||||
, {{ nb.metadata.language_info.pygments_lexer }}
|
||||
{%- elif 'name' in nb.metadata.get('language_info', {}) -%}
|
||||
, {{ nb.metadata.language_info.name }}
|
||||
{%- endif -%}]
|
||||
----
|
||||
{{ cell.source}}
|
||||
----
|
||||
{% endblock input %}
|
||||
|
||||
{% block output_group %}
|
||||
{% if resources.global_content_filter.include_output_prompt %}
|
||||
{% if cell.execution_count is defined -%}
|
||||
+*Out[{{ cell.execution_count|replace(None, " ") }}]:*+
|
||||
{%- else -%}
|
||||
+*Out[]:*+
|
||||
{%- endif -%}
|
||||
{%- endif %}
|
||||
----
|
||||
{{- super() -}}
|
||||
----
|
||||
{% endblock output_group %}
|
||||
|
||||
{% block error %}
|
||||
{{ super() }}
|
||||
{% endblock error %}
|
||||
|
||||
{% block traceback_line %}
|
||||
{{ line | indent | strip_ansi }}
|
||||
{% endblock traceback_line %}
|
||||
|
||||
{%- block execute_result %}
|
||||
{%- block data_priority scoped %}
|
||||
{{- super() -}}
|
||||
{%- endblock %}
|
||||
{%- endblock execute_result %}
|
||||
|
||||
{% block stream %}
|
||||
{{ output.text -}}
|
||||
{% endblock stream %}
|
||||
|
||||
{% block data_svg %}
|
||||

|
||||
{% endblock data_svg %}
|
||||
|
||||
{% block data_png %}
|
||||

|
||||
{% endblock data_png %}
|
||||
|
||||
{% block data_jpg %}
|
||||

|
||||
{% endblock data_jpg %}
|
||||
|
||||
{% block data_latex %}
|
||||
{{ output.data['text/latex'] | convert_pandoc(from_format="latex", to_format="asciidoc")}}
|
||||
{% endblock data_latex %}
|
||||
|
||||
{% block data_html scoped %}
|
||||
{{ output.data['text/html'] | convert_pandoc(from_format='html', to_format='asciidoc')}}
|
||||
{% endblock data_html %}
|
||||
|
||||
{% block data_markdown scoped %}
|
||||
{{ output.data['text/markdown'] | markdown2asciidoc}}
|
||||
{% endblock data_markdown %}
|
||||
|
||||
{% block data_text scoped %}
|
||||
{{-output.data['text/plain']-}}
|
||||
{% endblock data_text %}
|
||||
|
||||
{% block markdowncell scoped %}
|
||||
{{ cell.source | markdown2asciidoc}}
|
||||
{% endblock markdowncell %}
|
||||
|
||||
{% block unknowncell scoped %}
|
||||
unknown type {{ cell.type }}
|
||||
{% endblock unknowncell %}
|
Loading…
Add table
Add a link
Reference in a new issue