You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hmmm… That's why there's supposed to be a rule around mathjax that you don't treat \s$\d as a ending delimiter.
I can confirm that this is also present in markdown cells. The simplest solution is to just escape the $ with \$ so that it would be written as 'from \$100 to \$1000'.
But this shouldn't be happening regardless. It's likely related to how delimiters are specified… this goes back to at least 4.0 so I don't think it was recently introduced.
However fixing this is probably going to break people's notebooks because it will be enforcing a stricter approach to parsing mathjax which other people may have been relying on.
Would this require a fix in notebook? Or mathjax? Or ipython?
It would be nice if we could fix this and display a warning in the output for cases like this one where the user may be trying to display math using slightly unexpected delimiters.
string in double $ will convert to MathJax when using pandas Dataframe, just as the image show:

my df contains string 'from $100 some string here $1000', but when I show it in notebook, it will convert to MathJax and the font has changed
The text was updated successfully, but these errors were encountered: