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 support for LaTeX math expressions #200

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

Conversation

anschmieg
Copy link

Issue Description
Currently, the HTML output displays e.g. the example entry

Built an app to compute the similarity of all methods
in a codebase, reducing the time from $$\mathcal{O}(n^2)$$
to $$\mathcal{O}(n \log n)$$

as a literal, without rendering the math expression.

Suggested change
By adding Mathjax to the document via the Cloudflare CDN, LaTeX and LaTeX math expressions get parsed correctly if the CDN is reachable.


I hope I didn't screw up the branches or the commit history again... still working those out 😄

@anschmieg
Copy link
Author

anschmieg commented Nov 6, 2024

Since there is still an AssertionError, I assume the HTML output doesn't match the expected result because of the added tag?

Edit: committed modification of the relevant tests

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.

1 participant