| 1 |
{% extends "base.html" %} |
| 2 |
|
| 3 |
{% block scripts %} |
| 4 |
{{ super() }} |
| 5 |
<script> |
| 6 |
document$.subscribe(function() { |
| 7 |
document.querySelectorAll('pre code').forEach(code => { |
| 8 |
code.parentElement.classList.add('prettyprint', 'well'); |
| 9 |
}); |
| 10 |
prettyPrint(); |
| 11 |
}); |
| 12 |
</script> |
| 13 |
{% endblock %} |