-
Notifications
You must be signed in to change notification settings - Fork 430
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
Feature Request: MathJax integration #7
Comments
Here is another option: https://github.com/Khan/KaTeX |
And another per @theoreticalbts suggestion: https://www.mathjax.org/ |
@jcalfee: 😄 I already suggested mathjax in the OP. MathJax is the better option currently in terms of completeness of math rendering. Also it supports MathML (which is good for accessibility) and allows one to get the source of the render. There are two downsides however:
So there are trade-offs to consider. |
Unfortunately it doesn't sound like a simple drop-in:
This sentiment appears to be all too common:
and
This could be implemented purely server-side, though it does raise another host of issues. If we render to images, or as "intricate" HTML, each present their own challenges while we are trying to keep our beta paradigms as simple as possible for security and maintenance. Unless there is a math rendering package that is simple and secure, I think it's too early to invest too deeply into a solution like MathJax. An ideal future solution would be browser-based. Closing this issue. Feel free to continue using it to track relevant developments, packages, and findings. |
Is this still such a problem? The referenced issues seem to be closed and resolved for years (they have been even at the time of creation of this issue). I must admit I don't know what the situation with MathJax is security-wise, but I can't really see how it can be a risk, and it would be a really valuable addition to the platform. |
# This is the 1st commit message: init FeatureFlag HOC # The commit message #2 will be skipped: # add feature flag reducer # # refs #2179 # The commit message #3 will be skipped: # init FlagContainer # The commit message #4 will be skipped: # Feature Flag Container Component # The commit message #5 will be skipped: # uncertain about data type # The commit message #6 will be skipped: # missed export of MapStateToProps for test # The commit message #7 will be skipped: # tidy up # The commit message #8 will be skipped: # use immutable to access FeatureFlags map
This is really needed for modern writing. |
My humble vote to reopen this feature request; indeed I don't understand what the problem with Mathjax is, it is a purely client-side rendering suite and KaTeX is even lighter. Without Mathjax many styles of writing are just impossible in steemit. MathML servers a different purpose [and indeed Mathjax can output to it], in a sense it is comparable to markdown vs html [guess why nobody writes in raw HTML]. |
…andlebars-4.1.2 Bump handlebars from 4.0.11 to 4.1.2
Check it out: https://www.mathjax.org/
I should be able to write math in my post inline like so$a x^2 + b x + c = 0$ .
Or I can do it as a display block like this:
$$
x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2 a}
$$
The text was updated successfully, but these errors were encountered: