Initial Commit
This commit is contained in:
14
node_modules/prismjs/plugins/highlight-keywords/prism-highlight-keywords.js
generated
vendored
Normal file
14
node_modules/prismjs/plugins/highlight-keywords/prism-highlight-keywords.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
(function () {
|
||||
|
||||
if (typeof Prism === 'undefined') {
|
||||
return;
|
||||
}
|
||||
|
||||
Prism.hooks.add('wrap', function (env) {
|
||||
if (env.type !== 'keyword') {
|
||||
return;
|
||||
}
|
||||
env.classes.push('keyword-' + env.content);
|
||||
});
|
||||
|
||||
}());
|
1
node_modules/prismjs/plugins/highlight-keywords/prism-highlight-keywords.min.js
generated
vendored
Normal file
1
node_modules/prismjs/plugins/highlight-keywords/prism-highlight-keywords.min.js
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"undefined"!=typeof Prism&&Prism.hooks.add("wrap",(function(e){"keyword"===e.type&&e.classes.push("keyword-"+e.content)}));
|
Reference in New Issue
Block a user