summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorYukai Huang2016-10-09 07:54:52 +0800
committerYukai Huang2016-10-09 07:54:52 +0800
commit845e9342c5b12638abcd6aa5cf96c9ce87762e9f (patch)
treeed35169644d8b1569e1f1360e6140b0afa725edf /public
parent8e2b03cfd6d389df454d4baed68837c84e64ae66 (diff)
Add highlight.js and prism styles
Diffstat (limited to 'public')
-rw-r--r--public/js/index.js3
-rw-r--r--public/views/head.ejs3
2 files changed, 3 insertions, 3 deletions
diff --git a/public/js/index.js b/public/js/index.js
index 08f64d46..243761e6 100644
--- a/public/js/index.js
+++ b/public/js/index.js
@@ -15,6 +15,9 @@ require('../vendor/showup/showup');
require('bootstrap');
require('bootstrap/dist/css/bootstrap.css');
+require('prismjs/themes/prism.css');
+require('highlight.js/styles/github-gist.css');
+
/* code mirror plugins */
require('codemirror/keymap/vim');
require('codemirror/keymap/emacs');
diff --git a/public/views/head.ejs b/public/views/head.ejs
index 5d8e44b6..6890ddf3 100644
--- a/public/views/head.ejs
+++ b/public/views/head.ejs
@@ -14,7 +14,6 @@
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/octicons/3.5.0/octicons.min.css">
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/bootstrap-social/4.9.0/bootstrap-social.min.css">
<% } else { %>
-<link rel="stylesheet" href="<%- url %>/vendor/bootstrap/dist/css/bootstrap.min.css">
<link rel="stylesheet" href="<%- url %>/vendor/font-awesome/css/font-awesome.min.css">
<link rel="stylesheet" href="<%- url %>/vendor/Ionicons/css/ionicons.min.css">
<link rel="stylesheet" href="<%- url %>/vendor/octicons/octicons/octicons.css">
@@ -33,8 +32,6 @@
<link rel="stylesheet" href="<%- url %>/vendor/codemirror/mode/tiddlywiki/tiddlywiki.css">
<link rel="stylesheet" href="<%- url %>/vendor/codemirror/mode/mediawiki/mediawiki.css">
<link rel="stylesheet" href="<%- url %>/css/github-extract.css">
-<link rel="stylesheet" href="<%- url %>/vendor/highlightjs/styles/github-gist.css">
-<link rel="stylesheet" href="<%- url %>/vendor/prism/themes/prism.css">
<link rel="stylesheet" href="<%- url %>/vendor/emojify/css/emojify.min.css">
<link rel="stylesheet" href="<%- url %>/vendor/showup/showup.css">
<link rel="stylesheet" href="<%- url %>/css/mermaid.css">