diff --git a/package.json b/package.json index 6b313be..1e69348 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,6 @@ "gist-embed": "github:yukaii/gist-embed", "handlebars": "^4.0.5", "helmet": "^2.3.0", - "highlight.js": "^9.7.0", "i18n": "^0.8.3", "imgur": "git+https://github.com/hackmdio/node-imgur.git", "jquery": "^3.1.1", diff --git a/public/views/foot.ejs b/public/views/foot.ejs index 4294070..f1bc0c5 100644 --- a/public/views/foot.ejs +++ b/public/views/foot.ejs @@ -23,6 +23,7 @@ + <%- include build/index-scripts %> diff --git a/public/views/index.ejs b/public/views/index.ejs index 4ab3cde..bdfe058 100644 --- a/public/views/index.ejs +++ b/public/views/index.ejs @@ -208,6 +208,7 @@ + <%- include build/cover-scripts %> diff --git a/public/views/pretty.ejs b/public/views/pretty.ejs index 8fecb04..8968fec 100644 --- a/public/views/pretty.ejs +++ b/public/views/pretty.ejs @@ -103,6 +103,7 @@ + <%- include build/pretty-scripts %> diff --git a/public/views/slide.ejs b/public/views/slide.ejs index 398f40b..089ced3 100644 --- a/public/views/slide.ejs +++ b/public/views/slide.ejs @@ -104,6 +104,7 @@ + <%- include build/slide-scripts %> diff --git a/webpackBaseConfig.js b/webpackBaseConfig.js index 7648cd8..946ef4d 100644 --- a/webpackBaseConfig.js +++ b/webpackBaseConfig.js @@ -129,7 +129,8 @@ module.exports = { "lodash": "_", "jquery": "$", "moment": "moment", - "handlebars": "Handlebars" + "handlebars": "Handlebars", + "highlight.js": "hljs" }, module: {