File tree Expand file tree Collapse file tree 2 files changed +16
-2
lines changed Expand file tree Collapse file tree 2 files changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -16,3 +16,12 @@ span.inputnumrole {
16
16
span .outputnumrole {
17
17
color : # D84315
18
18
}
19
+
20
+ .intro {
21
+ background-color : # d8ebf3 ;
22
+ padding : 12px ;
23
+ border : 1px solid # 9dcde1 ;
24
+ border-radius : 6px ;
25
+ margin-top : 32px ;
26
+ margin-bottom : 32px ;
27
+ }
Original file line number Diff line number Diff line change 1
1
{% - extends ' display_priority.tpl' -%}
2
2
3
3
{% block header %}
4
-
5
4
{ # Remove the exec_ prefix #}
6
5
{% set nb_name = resources.metadata.name[5:] %}
7
-
8
6
`Download tutorial notebook <../_static/{ { nb_name } }/{ { nb_name } }.ipynb>`_ -
9
7
`Interactive tutorial notebook <https: //beta.mybinder.org /v2 /gh /astropy /astropy-tutorials /master?filepath =/tutorials/notebooks/{{ nb_name }} /{ { nb_name } } .ipynb >`_
10
8
89
87
{% endblock data_html %}
90
88
91
89
{% block markdowncell scoped %}
90
+ {% if cell.source.startswith(' # Introduction' ) %}
91
+ .. rst-class:: intro
92
+
92
93
{ { cell.source | markdown2rst } }
94
+ {% else %}
95
+ { { cell.source | markdown2rst } }
96
+ {% endif %}
97
+
93
98
{% endblock markdowncell %}
94
99
95
100
{% - block rawcell scoped -%}
You can’t perform that action at this time.
0 commit comments