##// END OF EJS Templates
Merge pull request #5672 from jdfreder/i3503...
Merge pull request #5672 from jdfreder/i3503 Add nbconvert pandoc markdown notebook.

File last commit:

r15733:67701c01
r16385:4d4870e7 merge
Show More
full.tpl
71 lines | 1.3 KiB | application/vnd.groove-tool-template | SmartyLexer
Thomas Kluyver
Move html templates into separate folder
r14047 {%- extends 'basic.tpl' -%}
damianavila
Changed name of file from math to mathjax.
r14154 {% from 'mathjax.tpl' import mathjax %}
Matthias BUSSONNIER
null template
r8997
damianavila
Redo of fixing templates structure.
r11770
{%- block header -%}
<!DOCTYPE html>
Matthias BUSSONNIER
null template
r8997 <html>
<head>
damianavila
Some changes to improve readibility.
r12889
damianavila
Added closing slash to meta.
r12890 <meta charset="utf-8" />
damianavila
Added title to full_html and slides.
r12891 <title>{{resources['metadata']['name']}}</title>
damianavila
Some changes to improve readibility.
r12889
Jonathan Frederic
https
r15731 <script src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.1.10/require.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>
Jonathan Frederic
CDN JS resources
r15727
Matthias BUSSONNIER
move html header out
r9490 {% for css in resources.inlining.css -%}
damianavila
Redo of fixing templates structure.
r11770 <style type="text/css">
{{ css }}
</style>
Matthias BUSSONNIER
modularize inlining
r9048 {% endfor %}
damianavila
Fixed css in reveal template and move static_html css to full_html template.
r9563
<style type="text/css">
/* Overrides of notebook CSS for static HTML export */
body {
overflow: visible;
padding: 8px;
}
Jonathan Frederic
Added code to prevent print page breaks in cells, output_wrapper, and output.
r15370
Jonathan Frederic
Moved CSS into <style>
r15722 div#notebook {
overflow: visible;
border-top: none;
}
Jonathan Frederic
Added code to prevent print page breaks in cells, output_wrapper, and output.
r15370 @media print {
div.cell {
display: block;
page-break-inside: avoid;
}
div.output_wrapper {
display: block;
page-break-inside: avoid;
}
div.output {
display: block;
page-break-inside: avoid;
}
}
damianavila
Fixed css in reveal template and move static_html css to full_html template.
r9563 </style>
damianavila
Added (to full_html and reveal templates) the possbility to read a custom.css file for tweaking the final html.
r11247 <!-- Custom stylesheet, it must be in the same directory as the html file -->
<link rel="stylesheet" href="custom.css">
damianavila
Added a math jinja macro containing the scripts to load mathjax.
r14150 <!-- Loading mathjax macro -->
damianavila
Added missing braces.
r14151 {{ mathjax() }}
damianavila
Added a math jinja macro containing the scripts to load mathjax.
r14150
Matthias BUSSONNIER
null template
r8997 </head>
{%- endblock header -%}
{% block body %}
damianavila
Redo of fixing templates structure.
r11770 <body>
Jonathan Frederic
Removed notebook specific divs,...
r15725 <div tabindex="-1" id="notebook" class="border-box-sizing">
<div class="container" id="notebook-container">
damianavila
Redo of fixing templates structure.
r11770 {{ super() }}
Jonathan Frederic
Make nbconvert html full output like notebook's html....
r15713 </div>
</div>
Matthias BUSSONNIER
svgoutput
r9039 </body>
{%- endblock body %}
Matthias BUSSONNIER
null template
r8997
{% block footer %}
damianavila
Redo of fixing templates structure.
r11770 </html>
Thomas Kluyver
Move html templates into separate folder
r14047 {% endblock footer %}