@@ -2131,8 +2131,9 @@ Math
2131#### Extension: `tex_math_dollars` ####
2131#### Extension: `tex_math_dollars` ####
2133Anything between two `$` characters will be treated as TeX math. The
2133Anything between two `$` characters will be treated as TeX math. The
2134−opening `$` must have a character immediately to its right, while the
2134+opening `$` must have a non-space character immediately to its right,
2135−closing `$` must have a character immediately to its left. Thus,
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,
2136`$20,000 and $30,000` won't parse as math. If for some reason
2137`$20,000 and $30,000` won't parse as math. If for some reason
2137you need to enclose text in literal `$` characters, backslash-escape
2138you need to enclose text in literal `$` characters, backslash-escape
2138them and they won't be treated as math delimiters.
2139them and they won't be treated as math delimiters.