UNPKG

214 BJavaScriptView Raw
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}());