From 862651fefad58e4adfe029cec0c2cb36d536011e Mon Sep 17 00:00:00 2001 From: yanglbme Date: Sun, 30 Jan 2022 20:23:59 +0800 Subject: [PATCH] fix: code theme resource (#125) close #125 --- README.md | 6 ++++++ src/assets/scripts/config.js | 10 +++++----- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 1d86b55..88b20a4 100644 --- a/README.md +++ b/README.md @@ -362,6 +362,12 @@ docker run -d -p 8080:80 doocs/md:latest 睡不醒的鲤鱼 + + +
+ Dmego +
+ diff --git a/src/assets/scripts/config.js b/src/assets/scripts/config.js index f6b794a..f56bc28 100644 --- a/src/assets/scripts/config.js +++ b/src/assets/scripts/config.js @@ -58,27 +58,27 @@ export default { codeThemeOption: [ { label: "github", - value: "https://lib.baomitu.com/highlight.js/10.7.3/styles/github.min.css", + value: "https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.4.0/styles/github.min.css", desc: "light", }, { label: "solarized-light", - value: "https://lib.baomitu.com/highlight.js/11.3.1/styles/base16/solarized-light.min.css", + value: "https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.4.0/styles/base16/solarized-light.min.css", desc: "light", }, { label: "atom-one-dark", - value: "https://lib.baomitu.com/highlight.js/11.3.1/styles/atom-one-dark.min.css", + value: "https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.4.0/styles/atom-one-dark.min.css", desc: "dark", }, { label: "obsidian", - value: "https://lib.baomitu.com/highlight.js/11.3.1/styles/obsidian.min.css", + value: "https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.4.0/styles/obsidian.min.css", desc: "dark", }, { label: "vs2015", - value: "https://lib.baomitu.com/highlight.js/11.3.1/styles/vs2015.min.css", + value: "https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.4.0/styles/vs2015.min.css", desc: "dark", }, ],