diff --git a/test/fixtures/default.txt b/test/fixtures/default.txt index eb66ce3..8b9119c 100644 --- a/test/fixtures/default.txt +++ b/test/fixtures/default.txt @@ -13,3 +13,162 @@ $$1+1 = 2$$ . + +No whitespace before and after is fine +. +foo$1+1 = 2$bar +. +
foobar
+. + +Even when it starts with a negative sign +. +foo$-1+1 = 2$bar +. +foobar
+. + +Paragraph break in inline math is not allowed +. +foo $1+1 + += 2$ bar +. +foo $1+1
+= 2$ bar
+. + +Neither is an end of document +. +foo $1+1 = 2 +. +foo $1+1 = 2
+. + +Inline math with apparent markup +. +foo $1 *i* 1$ bar +. +foo bar
+. + +Block math can be indented up to 3 spaces +. + $$ + 1+1 = 2 + $$ +. + +. + +But 4 means a code block +. + $$ + 1+1 = 2 + $$ +. +$$
+1+1 = 2
+$$
+
+.
+
+
+Multiline inline math
+.
+foo $1 + 1
+= 2$ bar
+.
+foo bar
+. + + +Multiline display math +. +$$ + + 1 ++ 1 + += 2 + +$$ +. + +. + +Text can immediately follow inline math +. +$n$-th order +. +-th order
+. + + +Display math self-closes at the end of document +. +$$ +1+1 = 2 +. + +. + + +Display and inline math can appear in lists +. +* $1+1 = 2$ +* $$ + 1+1 = 2 + $$ +. +Foo $1$ bar +$$ +1 +$$
+.