Skip to content

Commit

Permalink
Update template structure with new HTML block
Browse files Browse the repository at this point in the history
Added a block around the HTML template's version of the cell output
prompt.
  • Loading branch information
eddiejessup committed Dec 22, 2016
1 parent cc96019 commit 0d158c6
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 12 deletions.
18 changes: 12 additions & 6 deletions docs/source/customizing.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -280,12 +280,18 @@
" <div class=\"big_vertical_ellipsis\">&#8942;</div>\n",
"</div>\n",
"\n",
"<h3>Extra HTML blocks (full.tpl)</h3>\n",
"<div class=\"template_block\">header\n",
" <pre>&lt;head&gt;</pre>\n",
" <div class=\"template_block\">html_head</div>\n",
" <pre>&lt;/head&gt;</pre>\n",
"</div>\n",
"<h3>Extra HTML blocks</h3>\n",
" <h4><pre>basic.tpl</pre></h4>\n",
" <div class=\"template_block\">output\n",
" <div class=\"template_block\">output_area_prompt</div>\n",
" <div class=\"template_block\"><pre>{&#37; super &#37;}</pre></div>\n",
" </div>\n",
" <h4><pre>full.tpl</pre></h4>\n",
" <div class=\"template_block\">header\n",
" <pre>&lt;head&gt;</pre>\n",
" <div class=\"template_block\">html_head</div>\n",
" <pre>&lt;/head&gt;</pre>\n",
" </div>\n",
"\n",
"<h3>Extra Latex blocks</h3>\n",
"<div class=\"template_block\">header\n",
Expand Down
18 changes: 12 additions & 6 deletions docs/source/template_structure.html
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,18 @@ <h3>Outputs</h3>
<div class="big_vertical_ellipsis">&#8942;</div>
</div>

<h3>Extra HTML blocks (full.tpl)</h3>
<div class="template_block">header
<pre>&lt;head&gt;</pre>
<div class="template_block">html_head</div>
<pre>&lt;/head&gt;</pre>
</div>
<h3>Extra HTML blocks</h3>
<h4><pre>basic.tpl</pre></h4>
<div class="template_block">output
<div class="template_block">output_area_prompt</div>
<div class="template_block"><pre>{&#37; super &#37;}</pre></div>
</div>
<h4><pre>full.tpl</pre></h4>
<div class="template_block">header
<pre>&lt;head&gt;</pre>
<div class="template_block">html_head</div>
<pre>&lt;/head&gt;</pre>
</div>

<h3>Extra Latex blocks</h3>
<div class="template_block">header
Expand Down

0 comments on commit 0d158c6

Please sign in to comment.