diff --git a/package.json b/package.json index afe0068b6f..038893c030 100644 --- a/package.json +++ b/package.json @@ -92,6 +92,7 @@ "js-cookie": "3.0.5", "js-yaml": "4.1.0", "jsondiffpatch": "^0.6.0", + "katex": "^0.16.10", "kbar": "0.1.0-beta.45", "markdown-escape": "2.0.0", "markdown-to-jsx": "npm:@innei/markdown-to-jsx@7.2.1-beta.6", @@ -142,6 +143,7 @@ "@types/chroma-js": "2.4.4", "@types/js-cookie": "3.0.6", "@types/js-yaml": "4.0.9", + "@types/katex": "^0.16.7", "@types/markdown-escape": "1.1.3", "@types/node": "20.12.12", "@types/pngjs": "6.0.5", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index b74546f84f..afb6ced33e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -185,6 +185,9 @@ importers: jsondiffpatch: specifier: ^0.6.0 version: 0.6.0 + katex: + specifier: ^0.16.10 + version: 0.16.10 kbar: specifier: 0.1.0-beta.45 version: 0.1.0-beta.45(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) @@ -327,6 +330,9 @@ importers: '@types/js-yaml': specifier: 4.0.9 version: 4.0.9 + '@types/katex': + specifier: ^0.16.7 + version: 0.16.7 '@types/markdown-escape': specifier: 1.1.3 version: 1.1.3 @@ -1964,6 +1970,9 @@ packages: '@types/jsonfile@6.1.4': resolution: {integrity: sha512-D5qGUYwjvnNNextdU59/+fI+spnwtTFmyQP0h+PfIOSkNfpU6AOICUOkm4i0OnSk+NyjdPJrxCDro0sJsWlRpQ==} + '@types/katex@0.16.7': + resolution: {integrity: sha512-HMwFiRujE5PjrgwHQ25+bsLJgowjGjm5Z8FVSf0N6PwgJrwxH0QxzHYDcKsTfV3wva0vzrpqMTJS2jXPr5BMEQ==} + '@types/lodash.debounce@4.0.9': resolution: {integrity: sha512-Ma5JcgTREwpLRwMM+XwBR7DaWe96nC38uCBDFKZWbNKD+osjVzdpnUSwBcqCptrp16sSOLBAUb50Car5I0TCsQ==} @@ -3053,8 +3062,8 @@ packages: jsonfile@6.1.0: resolution: {integrity: sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==} - katex@0.16.9: - resolution: {integrity: sha512-fsSYjWS0EEOwvy81j3vRA8TEAhQhKiqO+FQaKWp0m39qwOzHVBgAUBIXWj1pB+O2W3fIpNa6Y9KSKCVbfPhyAQ==} + katex@0.16.10: + resolution: {integrity: sha512-ZiqaC04tp2O5utMsl2TEZTXxa6WSC4yo0fv5ML++D3QZv/vx2Mct0mTlRx3O+uUkjfuAgOkzsCmq5MiUEsDDdA==} hasBin: true kbar@0.1.0-beta.45: @@ -6792,6 +6801,8 @@ snapshots: '@types/node': 20.12.12 optional: true + '@types/katex@0.16.7': {} + '@types/lodash.debounce@4.0.9': dependencies: '@types/lodash': 4.14.202 @@ -7794,7 +7805,7 @@ snapshots: optionalDependencies: graceful-fs: 4.2.11 - katex@0.16.9: + katex@0.16.10: dependencies: commander: 8.3.0 @@ -8057,7 +8068,7 @@ snapshots: dayjs: 1.11.11 dompurify: 3.0.9 elkjs: 0.9.2 - katex: 0.16.9 + katex: 0.16.10 khroma: 2.1.0 lodash-es: 4.17.21 mdast-util-from-markdown: 1.3.1