diff options
author | John MacFarlane <jgm@berkeley.edu> | 2010-10-26 21:06:51 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2010-10-26 21:07:51 -0700 |
commit | 9cf27c92c136cce4785744542eaf962c05f1052c (patch) | |
tree | 4707badbb043be45abaa39c8636ffb1d28239bd7 /src/pandoc.hs | |
parent | 905d194db5f083ba49dfd5360d23aeba5b9b41ae (diff) |
Added support for MathJax for displaying math in HTML.
Added --mathjax option.
Added MathJax to HTMLMathMethod.
Supported MathJax in HTML writer.
Resolves Issue #259.
Diffstat (limited to 'src/pandoc.hs')
-rw-r--r-- | src/pandoc.hs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/pandoc.hs b/src/pandoc.hs index 3adb9746d..082e337f5 100644 --- a/src/pandoc.hs +++ b/src/pandoc.hs @@ -309,6 +309,12 @@ options = "URL") "" -- "Use jsMath for HTML math" + , Option "" ["mathjax"] + (ReqArg + (\arg opt -> return opt { optHTMLMathMethod = MathJax arg}) + "URL") + "" -- "Use MathJax for HTML math" + , Option "" ["gladtex"] (NoArg (\opt -> return opt { optHTMLMathMethod = GladTeX })) |