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

Add Latex to handle math equation. #500

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

bit-spite
Copy link
Contributor

@bit-spite bit-spite commented Jan 31, 2025

Description

We're adding LaTeX to the project for math equations. Because LaTeX renders as a view, we'll split the text, handling the math parts ($$) with LaTeX, and the rest with attributed strings so Markdown still works.

Checklist

Please ensure the following items are complete before submitting a pull request:

  • My code follows the code style of the project.
  • I have updated the documentation (if applicable).
  • I have added tests to cover my changes.

Type of Change

Please check the relevant option below:

  • Bug fix (non-breaking change which fixes an issue)
  • Documentation update (non-breaking change which updates documentation)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Screenshots

Screenshot 2568-01-31 at 23 12 00 Screenshot 2568-01-31 at 23 48 42

Additional Notes

Add any additional information or context about the pull request here.

Copy link
Collaborator

@schmidt-sebastian schmidt-sebastian left a comment

Choose a reason for hiding this comment

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

This looks good. Can you resolve the merge conflicts now that the other PRs are merged?

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