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

MathJax 3 support #1602

Open
voidbert opened this issue Jun 27, 2023 · 0 comments
Open

MathJax 3 support #1602

voidbert opened this issue Jun 27, 2023 · 0 comments

Comments

@voidbert
Copy link

The proposal

Currently, haddock uses MathJax 2.7. Due to new features, new packages, etc., I believe some users would be interested in the option of using MathJax 3.

I opened this issue to see if someone would be interested in this feature, and to discuss how it could be implemented.

Inherent problem and fix

MathJax 3 introduces some API breaking changes. More than breaking configuration files (which could easily be fixed from haddock's end), this breaks some existing formulas. Therefore, it may be a good idea to let users choose between the older and newer version.

I am aware that a custom MathJax URL can be provided (--mathjax [url]). However, due to the different configuration files needed, I suggest introducing a new command-line option (like --mathjax3 [url]).

In the future

If people are interested in this feature, and it ends up being implemented, a way to integrate it with cabal would be needed.

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

No branches or pull requests

1 participant