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 rendering should work for reStructuredText #1578

Open
Alhadis opened this issue Jul 26, 2022 · 4 comments
Open

Math rendering should work for reStructuredText #1578

Alhadis opened this issue Jul 26, 2022 · 4 comments

Comments

@Alhadis
Copy link

Alhadis commented Jul 26, 2022

reStructuredText includes facilities for marking up mathematical expressions, just like GitHub-flavoured markdown does:

Syntax
Markdown reStructuredText
Block syntax $$ ... $$ `.. math::`
Inline syntax $ ... $ :math:`...`

Unfortunately, only Markdown gets to enjoy the properly rendered equations:

Rendered output
Markdown reStructuredText

Block syntax

$$\sqrt{3x-1}+(1+x)^2$$ \sqrt{3x-1}+(1+x)^2
Inline syntax $\sqrt{3x-1}+(1+x)^2$ \sqrt{3x-1}+(1+x)^2

Since reStructuredText's uses MathJax's syntax for its equations, this should be a trivial fix on GitHub's end.

Alhadis added a commit to Cutlery-Drawer/cutlery-drawer.github.io that referenced this issue Aug 13, 2022
Alhadis added a commit to Cutlery-Drawer/cutlery-drawer.github.io that referenced this issue Aug 13, 2022
Copy link

Stale issue message

@Alhadis
Copy link
Author

Alhadis commented Aug 14, 2024

Stale issue message

Not stale. This is still an issue.

Copy link

Stale issue message

@Alhadis
Copy link
Author

Alhadis commented Oct 15, 2024

Stale issue message

See above.

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