markup icon indicating copy to clipboard operation
markup copied to clipboard

Math rendering should work for reStructuredText

Open Alhadis opened this issue 3 years ago • 4 comments

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 avatar Jul 26 '22 14:07 Alhadis

Stale issue message

github-actions[bot] avatar Aug 14 '24 12:08 github-actions[bot]

Stale issue message

Not stale. This is still an issue.

Alhadis avatar Aug 14 '24 14:08 Alhadis

Stale issue message

github-actions[bot] avatar Oct 14 '24 12:10 github-actions[bot]

Stale issue message

See above.

Alhadis avatar Oct 15 '24 01:10 Alhadis

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Feb 17 '25 12:02 github-actions[bot]