Normal text is being rendered as MathJax in comments #17522
Replies: 7 comments 4 replies
-
|
Note that as of writing, this behavior is not documented anywhere on the
|
Beta Was this translation helpful? Give feedback.
-
|
To use another programming-related resource for comparison, while multiple
|
Beta Was this translation helpful? Give feedback.
-
|
Honestly I think there should at least be a per-repo/maybe even per-file way to turn this feature on or off. |
Beta Was this translation helpful? Give feedback.
-
|
https://github.blog/changelog/2022-05-19-render-mathematical-expressions-in-markdown/ It's a feature 😉 |
Beta Was this translation helpful? Give feedback.
-
|
I discovered GitHub's new feature quite by accident having made the simple but fatal mistake of using two $ signs in an issue comment. I'm all for new features, and I understand there are many who have long desired it, but I'm sure this won't be helpful for everybody and without a better way to explicitly markup math expressions, the approach taken runs the risk of breaking a heap of historical comments, not to mention confusing users of simple cases like myself. As a work-around the dollar signs can be escaped by wrapping in |
Beta Was this translation helpful? Give feedback.
-
|
According to the documentation it is now recommended to use E.g.: Will be rendered as: ${HOME}/foo should be moved to ${HOME}/bar. |
Beta Was this translation helpful? Give feedback.
-
|
New alternative syntax (which doesn't seem to work): https://github.blog/changelog/2022-06-28-fenced-block-syntax-for-mathematical-expressions |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
In issue and discussion comments, normal text between dollar signs is being
rendered by MathJax. Example:
${HOME}/foo should be moved to ${HOME}/bar.
That is rendered as:
${HOME}/foo should be moved to ${HOME}/bar.Where the text in the code span becomes visually mangled, it cannot be selected
and right-clicking it opens a weird macOS-looking JavaScript-based context menu
that contains an "About MathJax" item.
Even though the text is not inside a code block or anything of the sort.
Environment: Firefox 100 on Linux.
Relates to #2816.
Beta Was this translation helpful? Give feedback.
All reactions