aboutsummaryrefslogtreecommitdiff
path: root/templates/ASCIIMathML.hs
diff options
context:
space:
mode:
Diffstat (limited to 'templates/ASCIIMathML.hs')
-rw-r--r--templates/ASCIIMathML.hs7
1 files changed, 7 insertions, 0 deletions
diff --git a/templates/ASCIIMathML.hs b/templates/ASCIIMathML.hs
new file mode 100644
index 000000000..1d04c6ff7
--- /dev/null
+++ b/templates/ASCIIMathML.hs
@@ -0,0 +1,7 @@
+-- | Definitions for use of ASCIIMathML in HTML.
+-- (See <http://www1.chapman.edu/~jipsen/mathml/asciimath.html>.)
+module Text.Pandoc.ASCIIMathML ( asciiMathMLScript ) where
+
+-- | String containing ASCIIMathML javascript.
+asciiMathMLScript :: String
+asciiMathMLScript = "<script type=\"text/javascript\">\n@ASCIIMathML.js@</script>\n"