Set up highlight.js

This commit is contained in:
Elian Doran
2024-10-26 22:57:07 +03:00
parent 88cd2ac25c
commit c81b847b61
5 changed files with 19 additions and 1 deletions

View File

@@ -102,6 +102,7 @@ function register(app: express.Application) {
app.use(`/${assetPath}/node_modules/codemirror/keymap/`, persistentCacheStatic(path.join(srcRoot, '..', 'node_modules/codemirror/keymap/')));
app.use(`/${assetPath}/node_modules/mind-elixir/dist/`, persistentCacheStatic(path.join(srcRoot, "..", "node_modules/mind-elixir/dist/")));
app.use(`/${assetPath}/node_modules/@highlightjs/cdn-assets/`, persistentCacheStatic(path.join(srcRoot, "..", "node_modules/@highlightjs/cdn-assets/")));
}
export default {