mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-07 04:08:43 +00:00
Replace Khan/KaTeX with KaTeX/KaTeX (#1781)
* Replace Khan/KaTeX with KaTeX/KaTeX * Remove RawGit links * Remove old files
This commit is contained in:
committed by
Kevin Barabash
parent
f4e24183d6
commit
112582daa5
@@ -11,7 +11,7 @@ Promise.all(process.argv.slice(3).map(file =>
|
||||
.then(body => {
|
||||
// Replace size badge url
|
||||
// eslint-disable-next-line max-len
|
||||
body = body.replace(/(https:\/\/img\.badgesize\.io\/Khan\/KaTeX\/v)(?:.+)(\/dist\/katex\.min\.js\?compression=gzip)/g, `$1${version}$2`);
|
||||
body = body.replace(/(https:\/\/img\.badgesize\.io\/KaTeX\/KaTeX\/v)(?:.+)(\/dist\/katex\.min\.js\?compression=gzip)/g, `$1${version}$2`);
|
||||
|
||||
// Replace CDN urls
|
||||
// 1 - url prefix: "http…/KaTeX/
|
||||
|
Reference in New Issue
Block a user