hexo/node_modules/prismjs/plugins/highlight-keywords/prism-highlight-keywords.mi...

1 line
123 B
JavaScript
Raw Normal View History

2023-09-25 15:58:56 +08:00
"undefined"!=typeof Prism&&Prism.hooks.add("wrap",(function(e){"keyword"===e.type&&e.classes.push("keyword-"+e.content)}));