KaTeX integration with CSS + fix LaTeX processing with blockquotes#2
Conversation
Code maintenance (variable names, code formatting, string handling) Co-authored-by: Aleksander Grygier <aleksander.grygier@gmail.com>
Moves KaTeX styling to SCSS for better customization and font embedding. This change includes: - Adding `sass` as a dev dependency. - Introducing a custom SCSS file to override KaTeX variables and disable TTF/WOFF fonts, relying solely on WOFF2 for embedding. - Adjusting the Vite configuration to resolve `katex-fonts` alias and inject SCSS variables.
|
@srogmann just realized i've merged a lot of commits from the |
f61bf52 to
d8b0b11
Compare
|
@allozaur Thanks! I transferred the two commits via cherry-picking. The future will demand changes, but the present is content: .woff2-only in |
Yes, of course I saw that. There's a comment about the deprecated |
Changes according to ggml-org#16508 (comment).
Additionally applied a fix for an issue i met along the way with the blockquotes: