diff options
author | 2025-01-05 15:05:17 +0800 | |
---|---|---|
committer | 2025-01-05 15:05:17 +0800 | |
commit | 11e64c5804b696f170b9d5d881befbabc4a4e85c (patch) | |
tree | 931db6605c0b10007c935c4bd0d5f9a2cd335cd5 /courseNotes/parallel.html | |
parent | 644a16ce9e49692964fcc2f6c017af6fc020350f (diff) | |
download | myweb-11e64c5804b696f170b9d5d881befbabc4a4e85c.tar.gz myweb-11e64c5804b696f170b9d5d881befbabc4a4e85c.zip |
mv highlight fuction into another domain
In the old version, to make highlight usable forever, I decided to
use own local version but not cdn of highlight.js website, and write
my config js to use it and line-numbers/copy. However, it's hard to
upgrade highlight.js.
So I move all highlight function into spercific domain, it's easy to
change configs or upgrade the hole highlight.js. Besides, it benifits to
other sites, because I want to use them now only in blogs, but also in
cgit code show pages.
Diffstat (limited to 'courseNotes/parallel.html')
-rw-r--r-- | courseNotes/parallel.html | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/courseNotes/parallel.html b/courseNotes/parallel.html index 163bd24..ebd09d4 100644 --- a/courseNotes/parallel.html +++ b/courseNotes/parallel.html | |||
@@ -7,9 +7,8 @@ | |||
7 | <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" /> | 7 | <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" /> |
8 | <title>并行计算大法好</title> | 8 | <title>并行计算大法好</title> |
9 | <link rel="stylesheet" href="https://www.qin-juan-ge-zhu.top/common/CSS/pandoc.css"> | 9 | <link rel="stylesheet" href="https://www.qin-juan-ge-zhu.top/common/CSS/pandoc.css"> |
10 | <script type="text/javascript" src="https://www.qin-juan-ge-zhu.top/common/js/myhighlight.js"></script> | 10 | <script type="text/javascript" src="https://hl.qin-juan-ge-zhu.top/myset/myhighlight.js"></script> |
11 | <script type="text/javascript" src="https://www.qin-juan-ge-zhu.top/common/script4code.js"></script> | 11 | <script type="text/javascript" src="https://www.qin-juan-ge-zhu.top/common/script4code.js"></script> |
12 | <script src="https://www.qin-juan-ge-zhu.top/common/js/myhighlight.js"></script> | ||
13 | <script type="text/javascript" async | 12 | <script type="text/javascript" async |
14 | src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/MathJax.js?config=TeX-MML-AM_CHTML"></script> | 13 | src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/MathJax.js?config=TeX-MML-AM_CHTML"></script> |
15 | <script type="text/x-mathjax-config"> | 14 | <script type="text/x-mathjax-config"> |