Skip to content

armgit / jan

Public Imported from GitHub
0

Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.

fix: missing shiki lib and import css katex

Faisal Amir54d279bcd09e
diff --git a/web-app/package.json b/web-app/package.json
index 83264390d..3ac563703 100644
--- a/web-app/package.json
+++ b/web-app/package.json
@@ -83,6 +83,7 @@
"remark-emoji": "5.0.1",
"remark-gfm": "4.0.1",
"remark-math": "6.0.0",
+ "shiki": "^3.19.0",
"sonner": "2.0.5",
"streamdown": "npm:@janhq/streamdown@^2.0.2",
"tailwindcss": "4.1.17",
diff --git a/web-app/src/index.css b/web-app/src/index.css
index 2ae8a4475..fb0d9426d 100644
--- a/web-app/src/index.css
+++ b/web-app/src/index.css
@@ -1,5 +1,6 @@
@import 'tailwindcss';
@import 'tw-animate-css';
+@import "katex/dist/katex.min.css";
@import '@/styles/font.css';
@import '@/styles/markdown.css';
@source '../node_modules/streamdown/dist/**/*.js';