Refactor routing in App component to enhance navigation and improve error handling by integrating dynamic routes and updating the NotFound route.
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);
|
||||
});
|
||||
|
||||
}());
|
Reference in New Issue
Block a user