aboutsummaryrefslogtreecommitdiff
path: root/tests/fb2/math.markdown
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-08-13 11:16:50 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2014-08-13 11:16:50 -0700
commit40e67b873735f108dfb17f75f6475219a62278cd (patch)
tree7814e987155d3b7d196135e2cdbf06deb67d460d /tests/fb2/math.markdown
parentfa71a08ed3cae4ed26d2cb84b1f7a29be94e3ddb (diff)
downloadpandoc-40e67b873735f108dfb17f75f6475219a62278cd.tar.gz
Revised tests directory.
Renamed some tests, introducing subsidiary directories for fb2, docx, epub. Cleaned up tests in cabal file. Combined dokuwiki-writer and dokuwiki_inline_formatting tests.
Diffstat (limited to 'tests/fb2/math.markdown')
-rw-r--r--tests/fb2/math.markdown10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/fb2/math.markdown b/tests/fb2/math.markdown
new file mode 100644
index 000000000..a88fb6cf1
--- /dev/null
+++ b/tests/fb2/math.markdown
@@ -0,0 +1,10 @@
+List math:
+
+- $E = m c^2$
+- $A = \pi r^2$
+
+Inline math: $x=\frac{-b \pm \sqrt {b^2-4ac}}{2a}$.
+
+Display math:
+
+$$\int_a^b \! f(x)\,dx = F(b) - F(a).$$