Skip to content

Commit

Permalink
Update higlightjs
Browse files Browse the repository at this point in the history
  • Loading branch information
cfclrk committed Dec 14, 2023
1 parent 7ab53b0 commit f7f6f74
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions resources/highlight.min.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
(c) 2006-2023 undefined and other contributors
License: BSD-3-Clause
*/
function e(n){return n instanceof Map?n.clear=n.delete=n.set=()=>{
var hljs=function(){"use strict";function e(n){
return n instanceof Map?n.clear=n.delete=n.set=()=>{
throw Error("map is read-only")}:n instanceof Set&&(n.add=n.clear=n.delete=()=>{
throw Error("set is read-only")
}),Object.freeze(n),Object.getOwnPropertyNames(n).forEach((t=>{
Expand Down Expand Up @@ -1208,4 +1209,5 @@ begin:"\\b[0-9]{4}(-[0-9][0-9]){0,2}([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?(\\.[0
;return c.pop(),c.push(i),r.contains=c,{name:"YAML",case_insensitive:!0,
aliases:["yml"],contains:l}}});const He=ae;for(const e of Object.keys(Ke)){
const n=e.replace("grmr_","").replace("_","-");He.registerLanguage(n,Ke[e])}
export{He as default};
return He}()
;"object"==typeof exports&&"undefined"!=typeof module&&(module.exports=hljs);
4 changes: 2 additions & 2 deletions scripts/fetch_resources.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ done

echo "Downloading highlight.min.js from CDN"

curl \
https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/es/highlight.min.js \
curl -s \
https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/highlight.min.js \
> resources/highlight.min.js

echo "Fetching mermaid js"
Expand Down

0 comments on commit f7f6f74

Please sign in to comment.