This repository has been archived on 2021-03-29. You can view files and clone it, but cannot push or open issues or pull requests.
statusboard/Public/tabler/plugins/prismjs/plugin.js

18 lines
367 B
JavaScript
Raw Permalink Normal View History

2020-11-11 22:49:55 +00:00
require.config({
paths: {
'prismjs': 'assets/plugins/prismjs/js/prism.pack',
},
shim: {
prism: {
exports: "Prism"
}
}
});
require(['prismjs', 'jquery'], function(prismjs, $){
$(document).ready(function(){
// $('[class^="language-"]').each(function(i, block) {
// Prism.highlightElement(block);
// });
});
});