source: node_modules/prismjs/plugins/highlight-keywords/prism-highlight-keywords.js

main
Last change on this file was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago

Initial commit

  • Property mode set to 100644
File size: 214 bytes
Line 
1(function () {
2
3 if (typeof Prism === 'undefined') {
4 return;
5 }
6
7 Prism.hooks.add('wrap', function (env) {
8 if (env.type !== 'keyword') {
9 return;
10 }
11 env.classes.push('keyword-' + env.content);
12 });
13
14}());
Note: See TracBrowser for help on using the repository browser.