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

Update ContentView.tsx #137

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

Conversation

PushkarOP
Copy link

Resolve #136

@jackschedel
Copy link
Owner

Did you test this on your own branch? I am not super familiar with LaTeX stuff but in the test I tried it didn't work. The text:

For example, if `content` contains:
Some text with math \[x^2\] and inline math \(y+1\)
It would become:
Some text with math $$x^2$$ and inline math $y+1$

Is rendered as:
image

@PushkarOP
Copy link
Author

you probably forgot to enable inline latex

image

@jackschedel
Copy link
Owner

Yep, sorry. Weird that it still renders $$x^2$$ as LaTeX even when the LaTeX rendering setting is disabled. (A new bug xD)

Copy link
Owner

@jackschedel jackschedel left a comment

Choose a reason for hiding this comment

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

Could you please make this replace only occur when the Inline LaTeX setting is enabled?

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.

Maths Support
2 participants