Last change
on this file was 0924b6c, checked in by Özkan İliyaz <iliyaz_96@…>, 4 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
368 bytes
|
Line | |
---|
1 | require.config({
|
---|
2 | paths: {
|
---|
3 | 'prismjs': 'assets/plugins/prismjs/js/prism.pack',
|
---|
4 | },
|
---|
5 | shim: {
|
---|
6 | prism: {
|
---|
7 | exports: "Prism"
|
---|
8 | }
|
---|
9 | }
|
---|
10 | });
|
---|
11 |
|
---|
12 | require(['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.