Fix/katex rendering issue 1213 (#1223)

This commit is contained in:
Anand S 2025-11-01 09:21:16 +05:30 committed by GitHub
parent 03d3095ad8
commit e4142a976e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 0 deletions

1
.gitignore vendored
View file

@ -23,6 +23,7 @@ yarn-debug.log*
yarn-error.log*
.pnpm-debug.log*
# local env files
.env.local
.env.development.local

View file

@ -3,6 +3,9 @@
/* include utility classes in streamdown */
@source '../node_modules/streamdown/dist/index.js';
/* Add KaTeX CSS for math rendering */
@import 'katex/dist/katex.min.css';
/* custom variant for setting dark mode programmatically */
@custom-variant dark (&:is(.dark, .dark *));