@@ -2131,8 +2131,9 @@ Math
21312131#### Extension: `tex_math_dollars` ####
21322132
21332133Anything between two `$` characters will be treated as TeX math. The
2134−opening `$` must have a character immediately to its right, while the
2135−closing `$` must have a character immediately to its left. Thus,
2134+opening `$` must have a non-space character immediately to its right,
2135+while the closing `$` must have a non-space character immediately to its
2136+left, and must not be followed immediately by a digit. Thus,
21362137`$20,000 and $30,000` won't parse as math. If for some reason
21372138you need to enclose text in literal `$` characters, backslash-escape
21382139them and they won't be treated as math delimiters.