prism-highlight-keywords.js 185 Bytes Edit Raw Blame History 1 2 3 4 5 6 7 8 9 10 11 12 13 14 (function(){ if (!self.Prism) { return; } Prism.hooks.add('wrap', function(env) { if (env.type !== "keyword") { return; } env.classes.push('keyword-' + env.content); }); })();