Skip to content

Commit 01bb85e

Browse files
committed
Merge pull request #2246 from d0ugal/mkdocs-theme
Syntax highlighting
2 parents 6f434a6 + 5fe5a93 commit 01bb85e

14 files changed

+6
-0
lines changed

β€Ždocs/img/autocomplete.png

-56.8 KB
Binary file not shown.

β€Ždocs_theme/base.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@ <h3 id="myModalLabel">Documentation search</h3>
169169
<script src="{{ base_url }}/js/jquery-1.8.1-min.js"></script>
170170
<script src="{{ base_url }}/js/prettify-1.0.js"></script>
171171
<script src="{{ base_url }}/js/bootstrap-2.1.1-min.js"></script>
172+
<script src="{{ base_url }}/js/theme.js"></script>
172173

173174
<script>
174175
//$('.side-nav').scrollspy()
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

β€Ždocs_theme/js/theme.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
$(function(){
2+
3+
$('pre code').parent().addClass('prettyprint well');
4+
5+
});

0 commit comments

Comments
Β (0)