-
Notifications
You must be signed in to change notification settings - Fork 0
KaTeX integration with CSS + fix LaTeX processing with blockquotes #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
KaTeX integration with CSS + fix LaTeX processing with blockquotes #2
Conversation
Code maintenance (variable names, code formatting, string handling) Co-authored-by: Aleksander Grygier <[email protected]>
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, I think this is it @srogmann, but if you got any remarks lemme know! Otherwise let's merge it to your branch and move forward with merging the LaTeX/KaTeX improvements to the master branch!
|
@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: