Add a theme.js file to enable highlighing

This commit is contained in:
Dougal Matthews 2014-12-10 11:33:30 +00:00
parent 9883862576
commit dbc5c066c2
2 changed files with 6 additions and 0 deletions

View File

@ -169,6 +169,7 @@
<script src="{{ base_url }}/js/jquery-1.8.1-min.js"></script> <script src="{{ base_url }}/js/jquery-1.8.1-min.js"></script>
<script src="{{ base_url }}/js/prettify-1.0.js"></script> <script src="{{ base_url }}/js/prettify-1.0.js"></script>
<script src="{{ base_url }}/js/bootstrap-2.1.1-min.js"></script> <script src="{{ base_url }}/js/bootstrap-2.1.1-min.js"></script>
<script src="{{ base_url }}/js/theme.js"></script>
<script> <script>
//$('.side-nav').scrollspy() //$('.side-nav').scrollspy()

5
docs_theme/js/theme.js Normal file
View File

@ -0,0 +1,5 @@
$(function(){
$('pre code').parent().addClass('prettyprint well');
});