diff --git a/index.html b/index.html index b0d4c18..175a8ac 100644 --- a/index.html +++ b/index.html @@ -11,7 +11,7 @@ - + diff --git a/src/main.js b/src/main.js index 51a69b4..32b7cf0 100644 --- a/src/main.js +++ b/src/main.js @@ -146,7 +146,7 @@ $(el.composer).on('submit',async e=>{e.preventDefault();if(state.busy||sending|| let jars={html:null,extension:null}; const ensureJars=async()=>{ if(jars.html&&jars.extension)return jars; - const mod=await import('https://medv.io/codejar/codejar.js'),CodeJar=mod.CodeJar||mod.default; + const mod=await import('https://cdn.jsdelivr.net/npm/codejar@4.3.0/dist/codejar.js'),CodeJar=mod.CodeJar||mod.default; const hl=e=>{ const code=e.innerText; e.innerHTML=hljs.highlight(code,{language:'xml'}).value; diff --git a/src/markdown.js b/src/markdown.js index de588e9..2a52aec 100644 --- a/src/markdown.js +++ b/src/markdown.js @@ -1,4 +1,4 @@ -import mathjax3 from 'https://esm.sh/markdown-it-mathjax3'; +import mathjax3 from 'https://esm.sh/markdown-it-mathjax3@5.2.0'; import { copyToClipboard } from './utils.js'; export const md = window.md = window.markdownit({ html: false, linkify: true, typographer: true, breaks: true }).use(mathjax3); diff --git a/src/parts/head.html b/src/parts/head.html index 2ccab6d..6b08535 100644 --- a/src/parts/head.html +++ b/src/parts/head.html @@ -2,11 +2,11 @@ Sune - + - - + +