Skip to content

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.

3 participants