Skip to content

[CT-3637] Fix latex rendering and formatting #116

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

Merged
merged 1 commit into from
Jun 27, 2022

Conversation

ben-brooker
Copy link
Contributor

TICKET

Updated the issues with latex rendering by wrapping the ./components/Html component with better-react-mathjax component (updated version of react-mathjax). I tried react-katex but this works better. Also, I fixed the formatting issue with the \describe{} element.

Latex rendering before:
Screenshot 2022-06-26 at 17 43 23

Latex rendering after:
Screenshot 2022-06-26 at 17 44 22

Formatting issue before:
Screenshot 2022-06-26 at 17 42 52

Formatting issue after:
Screenshot 2022-06-26 at 17 43 01

Copy link
Contributor

@ztsorojev ztsorojev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤝

@ben-brooker ben-brooker force-pushed the bb/fix-latex-rendering branch from 9e92e8b to 4c86c4e Compare June 27, 2022 15:38
@ben-brooker ben-brooker merged commit 237680f into main Jun 27, 2022
@ben-brooker ben-brooker deleted the bb/fix-latex-rendering branch June 27, 2022 15:42
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.

2 participants