<link href="${STATIC_PATH}/ipynb/css/pygments.css" rel="stylesheet">
<link href="${STATIC_PATH}/ipynb/css/style.min.css" rel="stylesheet">
<link href="${STATIC_PATH}/ipynb/css/theme/cdp_1.css" rel="stylesheet">


<style type="text/css">
    .imgwrap {
        text-align: center;
    }
    .input_area {
        padding: 0.4em;
    }
    div.input_area > div.highlight > pre {
        margin: 0px;
        padding: 0px;
        border: none;
    }
</style>

${ body | n }


<script type="text/javascript">
    (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]);
    }
})();
</script>

<script src="${STATIC_PATH}/ipynb/js/mathjax.js"type="text/javascript"></script>
<link href="${STATIC_PATH}/ipynb/css/pygments.css" rel="stylesheet">
<link href="${STATIC_PATH}/ipynb/css/style.min.css" rel="stylesheet">
<link href="${STATIC_PATH}/ipynb/css/theme/cdp_1.css" rel="stylesheet">


<style type="text/css">
    .imgwrap {
        text-align: center;
    }
    .input_area {
        padding: 0.4em;
    }
    div.input_area > div.highlight > pre {
        margin: 0px;
        padding: 0px;
        border: none;
    }
</style>

${ body | n }

<script type="text/javascript">
    (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]);
    }
})();
</script>

## Use secure MathJax CDN to avoid SSL errors
<script type="text/javascript" src="https://c328740.ssl.cf1.rackcdn.com/mathjax/latest/MathJax.js"></script>

Fix SSL error on rendering IPython notebooks
Fix SSL error on rendering IPython notebooks
