source: public/assets/plugins/prismjs/plugin.js@ f457265

Last change on this file since f457265 was 0924b6c, checked in by Özkan İliyaz <iliyaz_96@…>, 4 years ago

initial commit

  • Property mode set to 100644
File size: 368 bytes
RevLine 
[0924b6c]1require.config({
2 paths: {
3 'prismjs': 'assets/plugins/prismjs/js/prism.pack',
4 },
5 shim: {
6 prism: {
7 exports: "Prism"
8 }
9 }
10});
11
12require(['prismjs', 'jquery'], function(prismjs, $){
13 $(document).ready(function(){
14 // $('[class^="language-"]').each(function(i, block) {
15 // Prism.highlightElement(block);
16 // });
17 });
18});
Note: See TracBrowser for help on using the repository browser.