##// END OF EJS Templates
Merge pull request #3854 from takluyver/i2431...
Merge pull request #3854 from takluyver/i2431 Catch errors filling readline history on startup In some cases, the history db can be a valid SQLite database, but contain strings with null bytes, which readline refuses to accept. This catches and ignores the resulting error. At present, it leaves the history database untouched, and keeps trying to load readline history: if just one entry is invalid, the rest of the history may still be useful to the user. Closes #2431

File last commit:

r11770:6b8a9d57
r11889:b634ae2f merge
Show More
html_full.tpl
67 lines | 1.5 KiB | application/vnd.groove-tool-template | SmartyLexer
Jonathan Frederic
Reflection of renames in template references
r11734 {%- extends 'html_basic.tpl' -%}
Matthias BUSSONNIER
null template
r8997
damianavila
Redo of fixing templates structure.
r11770
{%- block header -%}
<!DOCTYPE html>
Matthias BUSSONNIER
null template
r8997 <html>
<head>
Matthias BUSSONNIER
modularize inlining
r9048 <meta charset="UTF-8">
Matthias BUSSONNIER
html title
r9329 <title>[{{nb.metadata.name}}]</title>
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;
}
.input_area {
Matthias BUSSONNIER
some css fixes due to pygment highlighter...
r10817 padding: 0.2em;
}
pre {
damianavila
Fixing some css minors in full_html and reveal.
r11548 padding: 0.2em;
Matthias BUSSONNIER
some css fixes due to pygment highlighter...
r10817 border: none;
margin: 0px;
font-size: 13px;
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
Redo of fixing templates structure.
r11770 <script src="https://c328740.ssl.cf1.rackcdn.com/mathjax/latest/MathJax.js?config=TeX-AMS_HTML" type="text/javascript"></script>
Matthias BUSSONNIER
null template
r8997 <script type="text/javascript">
init_mathjax = function() {
if (window.MathJax) {
// MathJax loaded
MathJax.Hub.Config({
tex2jax: {
inlineMath: [ ['$','$'], ["\\(","\\)"] ],
displayMath: [ ['$$','$$'], ["\\[","\\]"] ]
},
displayAlign: 'left', // Change this to 'center' to center equations.
"HTML-CSS": {
styles: {'.MathJax_Display': {"margin": 0}}
}
});
MathJax.Hub.Queue(["Typeset",MathJax.Hub]);
}
}
init_mathjax();
</script>
</head>
{%- endblock header -%}
{% block body %}
damianavila
Redo of fixing templates structure.
r11770 <body>
{{ super() }}
Matthias BUSSONNIER
svgoutput
r9039 </body>
{%- endblock body %}
Matthias BUSSONNIER
null template
r8997
{% block footer %}
damianavila
Redo of fixing templates structure.
r11770 </html>
{% endblock footer %}