more updates to match new code, new entry for testing
This commit is contained in:
parent
46751d66ca
commit
008d2d760c
140 changed files with 17228 additions and 12 deletions
11
themes/yesplease/assets/js/init.js
Normal file
11
themes/yesplease/assets/js/init.js
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
$(function(){
|
||||
$('a.image-reference').fluidbox();
|
||||
|
||||
$('pre.code').each(function(i, block) {
|
||||
hljs.highlightBlock(block);
|
||||
});
|
||||
|
||||
// Required because the pre.code is automatically generated from ReST post.
|
||||
// Making a custom code ReST directive would allow generating this desired container around the pre.code element.
|
||||
$('pre.code').wrap('<div class="yp-code-container yp-well"></div>');
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue