Closed thucpn closed 3 months ago
Latest commit: 9b3640fab1be4619da19dc841b336150277a5e43
The changes in this PR will be included in the next version bump.
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
The update enriches Markdown rendering in a Next.js application by preprocessing LaTeX equations and integrating the rehype-katex
plugin. This enhancement enables the proper display of both block-level and inline LaTeX equations using KaTeX, elevating the presentation of mathematical content within the app.
File Path | Change Summary |
---|---|
.../components/ui/chat/markdown.tsx .../nextjs/package.json .../silent-tomatoes-relax.md |
Enhanced Markdown rendering by preprocessing LaTeX equations, added rehype-katex for rendering with KaTeX, and included the rehype-katex dependency in package.json . |
In code we weave, equations gleam,
LaTeX now flows in Markdown's stream.
With KaTeX's grace, math takes its place,
Enhancing chats in our app's embrace.
A rabbit's cheer for changes clear,
In every line, new joys appear!
🌟🐇✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit
New Features
Dependencies
rehype-katex
dependency to enhance LaTeX rendering capabilities.