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

math: add mathjax rendering #235

Closed
McShelby opened this issue Apr 6, 2022 · 2 comments
Closed

math: add mathjax rendering #235

McShelby opened this issue Apr 6, 2022 · 2 comments
Labels
feature New feature or request
Milestone

Comments

@McShelby
Copy link
Owner

McShelby commented Apr 6, 2022

No description provided.

@McShelby McShelby added the feature New feature or request label Apr 6, 2022
@McShelby McShelby changed the title mathjax: add math rendering math: add mathjax rendering Apr 6, 2022
@McShelby McShelby added the blocked Depends on other issue to be fixed first label Apr 11, 2022
@McShelby
Copy link
Owner Author

Best option here would be to activate the goldmark-mathjax-extension, but this has to be done by Hugo itself which seems rather unlikley to happen in the near future. https://discourse.gohugo.io/t/use-goldmark-mathjax-extension/25721/26

There are other options, all with their own disadvantages of either having conflicts with otherwise valid markup constructs or being inconvenient for typing.

Clientside rendering also has the problem of detecting if a math equation is present and only load the huge mathjax dependencies in this case. For inline code fences there currently is no way to handle it in a render hook.

Further reading:
https://yihui.org/en/2018/07/latex-math-markdown/
https://www.stderr.nl/Blog/Blog/MathJaxInMarkdown.html

@McShelby
Copy link
Owner Author

@McShelby McShelby added this to the 4.3.0 milestone Jul 2, 2022
@McShelby McShelby removed the blocked Depends on other issue to be fixed first label Jul 2, 2022
McShelby added a commit that referenced this issue Jul 2, 2022
McShelby added a commit that referenced this issue Jul 2, 2022
@McShelby McShelby closed this as completed Jul 2, 2022
McShelby added a commit that referenced this issue Jul 2, 2022
McShelby added a commit that referenced this issue Jul 2, 2022
McShelby added a commit that referenced this issue Jul 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant