git.iko.soy/typeable/pandoc
on master help sign in
Updated description of heuristic for math `$`.
commit067f2e640fe3934142850fc83e7aaa5fc764a0a1 authorJohn MacFarlane <fiddlosopher@gmail.com> dateMon 29 Sep 2014, 14:55 (12 years ago) parent7ac1b6b
1 file changed+3−2
README+3−2
README+3−2
@@ -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.