summaryrefslogtreecommitdiff
path: root/macros/generic/markdown/examples/example.md
diff options
context:
space:
mode:
Diffstat (limited to 'macros/generic/markdown/examples/example.md')
-rw-r--r--macros/generic/markdown/examples/example.md18
1 files changed, 18 insertions, 0 deletions
diff --git a/macros/generic/markdown/examples/example.md b/macros/generic/markdown/examples/example.md
index 16d32368d9..8819ef5b67 100644
--- a/macros/generic/markdown/examples/example.md
+++ b/macros/generic/markdown/examples/example.md
@@ -177,3 +177,21 @@ $$ x^n + y^n = z^n $$
| even
discontinuous
| lines
+
+This is inline and display TeX math created using dollars signs:
+
+$E=mc^2$
+
+$$E=mc^2$$
+
+This is inline and display TeX math created using single backslashes:
+
+\(E=mc^2\)
+
+\[E=mc^2\]
+
+This is inline and display TeX math created using double backslashes:
+
+\\(E=mc^2\\)
+
+\\[E=mc^2\\]