Skip to content
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

feat: latex rendering #716

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

nicholasdly
Copy link

This pull request adds LaTeX rendering in Markdown via the remark-math and rehype-katex npm packages.

It's common for LLM's to respond using LaTeX when referring to specific math or science. This allows LaTeX to be correctly rendered rather than appear as an incomprehensible string.

Before:
Screenshot 2025-01-17 at 5 18 32 PM

After:
Screenshot 2025-01-17 at 5 33 01 PM

Closes #511

Copy link

vercel bot commented Jan 17, 2025

@nicholasdly is attempting to deploy a commit to the Vercel Team on Vercel.

A member of the Team first needs to authorize it.

Copy link

New dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/[email protected] Transitive: environment, filesystem, shell +20 5.59 MB wooorm
npm/[email protected] Transitive: environment, filesystem, shell +35 5.35 MB wooorm

View full report↗︎

@athrael-soju
Copy link

Much needed and nicely done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Is there latex support?
2 participants